cast dev_t to int in printf to fix warning.

This commit is contained in:
Matthew Dillon 2001-10-29 01:22:15 +00:00
parent 997313be99
commit f4481658ec

View File

@ -389,7 +389,7 @@ svr4_delete_socket(p, fp)
if (e->p == p && e->cookie == cookie) {
TAILQ_REMOVE(&svr4_head, e, entries);
DPRINTF(("svr4_delete_socket: %s [%p,%d,%d]\n",
e->sock.sun_path, p, e->dev, e->ino));
e->sock.sun_path, p, (int)e->dev, e->ino));
free(e, M_TEMP);
return;
}