summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-01-15 03:06:29 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-01-15 03:06:29 +0000
commit28217a8958bdb31967db1c9e7f6ae55237c98d4c (patch)
treebfc497de9858b9a5469fbee3999cda53261791e7 /sys
parent852f29f5ce712b9e2116d909f38a6136990df6a2 (diff)
fixed warning:
kernfs_vnops.c:305: warning: long unsigned int format, u_int arg (arg 3)
Diffstat (limited to 'sys')
-rw-r--r--sys/miscfs/kernfs/kernfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/kernfs/kernfs_vnops.c b/sys/miscfs/kernfs/kernfs_vnops.c
index 1a360ead3a1..f77a606a13e 100644
--- a/sys/miscfs/kernfs/kernfs_vnops.c
+++ b/sys/miscfs/kernfs/kernfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kernfs_vnops.c,v 1.5 1996/10/27 07:59:05 mickey Exp $ */
+/* $OpenBSD: kernfs_vnops.c,v 1.6 1997/01/15 03:06:28 kstailey Exp $ */
/* $NetBSD: kernfs_vnops.c,v 1.43 1996/03/16 23:52:47 christos Exp $ */
/*
@@ -302,7 +302,7 @@ kernfs_xread(kt, off, bufp, len)
break;
case KTT_USERMEM:
- sprintf(*bufp, "%lu\n", physmem - cnt.v_wire_count);
+ sprintf(*bufp, "%u\n", physmem - cnt.v_wire_count);
break;
default: