From 4789eaae36dcdb40cff5fa031e0d50065b50f376 Mon Sep 17 00:00:00 2001 From: kstailey Date: Wed, 15 Jan 1997 03:06:28 +0000 Subject: [PATCH] fixed warning: kernfs_vnops.c:305: warning: long unsigned int format, u_int arg (arg 3) --- sys/miscfs/kernfs/kernfs_vnops.c | 4 ++-- 1 file 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: -- 2.20.1