summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_export.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-11 07:46:16 +0000
committerbde <bde@FreeBSD.org>1998-07-11 07:46:16 +0000
commitf0b863f4b5c8604ff238621b7fcd6becea496675 (patch)
tree204ad88277d5159445cec0b7fbc88090454d53eb /sys/kern/vfs_export.c
parent065e3edb4989d6adb56bfc42cab8726f680cef5b (diff)
downloadFreeBSD-src-f0b863f4b5c8604ff238621b7fcd6becea496675.zip
FreeBSD-src-f0b863f4b5c8604ff238621b7fcd6becea496675.tar.gz
Fixed printf format errors.
Diffstat (limited to 'sys/kern/vfs_export.c')
-rw-r--r--sys/kern/vfs_export.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
index 29518f0..39a2613 100644
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
- * $Id: vfs_subr.c,v 1.156 1998/06/10 22:02:14 julian Exp $
+ * $Id: vfs_subr.c,v 1.157 1998/06/21 18:02:43 bde Exp $
*/
/*
@@ -1901,10 +1901,10 @@ vprint(label, vp)
char buf[64];
if (label != NULL)
- printf("%s: %x: ", label, vp);
+ printf("%s: %p: ", label, (void *)vp);
else
- printf("%x: ", vp);
- printf("type %s, usecount %d, writecount %d, refcount %ld,",
+ printf("%p: ", (void *)vp);
+ printf("type %s, usecount %d, writecount %d, refcount %d,",
typename[vp->v_type], vp->v_usecount, vp->v_writecount,
vp->v_holdcnt);
buf[0] = '\0';
OpenPOWER on IntegriCloud