summaryrefslogtreecommitdiffstats
path: root/sys/dev/streams
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-10-29 01:22:15 +0000
committerdillon <dillon@FreeBSD.org>2001-10-29 01:22:15 +0000
commit2dd07e734e95950a553c91941a23850eeee98683 (patch)
treebb6e71d83805f52e706b04d1c2f83bf06eee792e /sys/dev/streams
parentff26515539992140a91aa71b793fe4fe0fb2e29d (diff)
downloadFreeBSD-src-2dd07e734e95950a553c91941a23850eeee98683.zip
FreeBSD-src-2dd07e734e95950a553c91941a23850eeee98683.tar.gz
cast dev_t to int in printf to fix warning.
Diffstat (limited to 'sys/dev/streams')
-rw-r--r--sys/dev/streams/streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c
index 8d02576..3fc97c6 100644
--- a/sys/dev/streams/streams.c
+++ b/sys/dev/streams/streams.c
@@ -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;
}
OpenPOWER on IntegriCloud