diff options
author | bde <bde@FreeBSD.org> | 1998-07-30 17:40:45 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-30 17:40:45 +0000 |
commit | 0c01873b017eb8d89f9004ca2b49025ce75281df (patch) | |
tree | 075e2904988cbaded4b2d5050ac5bb1282d6701d /sys/fs/nullfs/null_subr.c | |
parent | d00cccd49fea9ae2af8d4289c3a2e668c7dff3c5 (diff) | |
download | FreeBSD-src-0c01873b017eb8d89f9004ca2b49025ce75281df.zip FreeBSD-src-0c01873b017eb8d89f9004ca2b49025ce75281df.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'sys/fs/nullfs/null_subr.c')
-rw-r--r-- | sys/fs/nullfs/null_subr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/fs/nullfs/null_subr.c b/sys/fs/nullfs/null_subr.c index e4d49b6..603f418 100644 --- a/sys/fs/nullfs/null_subr.c +++ b/sys/fs/nullfs/null_subr.c @@ -35,7 +35,7 @@ * * @(#)null_subr.c 8.7 (Berkeley) 5/14/95 * - * $Id: null_subr.c,v 1.17 1998/02/09 06:09:45 eivind Exp $ + * $Id: null_subr.c,v 1.18 1998/07/15 02:32:18 bde Exp $ */ #include "opt_debug_nullfs.h" @@ -274,9 +274,9 @@ null_checkvp(vp, fil, lno) if (a->null_lowervp == NULLVP) { /* Should never happen */ int i; u_long *p; - printf("vp = %x, ZERO ptr\n", vp); + printf("vp = %p, ZERO ptr\n", (void *)vp); for (p = (u_long *) a, i = 0; i < 8; i++) - printf(" %x", p[i]); + printf(" %lx", p[i]); printf("\n"); /* wait for debugger */ while (null_checkvp_barrier) /*WAIT*/ ; @@ -284,9 +284,9 @@ null_checkvp(vp, fil, lno) } if (a->null_lowervp->v_usecount < 1) { int i; u_long *p; - printf("vp = %x, unref'ed lowervp\n", vp); + printf("vp = %p, unref'ed lowervp\n", (void *)vp); for (p = (u_long *) a, i = 0; i < 8; i++) - printf(" %x", p[i]); + printf(" %lx", p[i]); printf("\n"); /* wait for debugger */ while (null_checkvp_barrier) /*WAIT*/ ; |