diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-10-23 17:21:35 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-10-23 17:21:35 +0000 |
commit | 4860cab4173dcc568a6727ccfba3644b3a3f1bd0 (patch) | |
tree | f3fc2d738575b1cd4a69105a2efd107d7b24be84 /sys/msdosfs/msdosfs_vfsops.c | |
parent | 91b650217bda98deca647578d8704487353d9743 (diff) |
Fix printf() types so kernel compiles with or w/o MSDOSFS_DEBUG.
e.g. print pointers with %p instead of %08x. No changes outside of
MSDOSFS_DEBUG.
Diffstat (limited to 'sys/msdosfs/msdosfs_vfsops.c')
-rw-r--r-- | sys/msdosfs/msdosfs_vfsops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/msdosfs/msdosfs_vfsops.c b/sys/msdosfs/msdosfs_vfsops.c index 9da6261e045..a8d6a53f03b 100644 --- a/sys/msdosfs/msdosfs_vfsops.c +++ b/sys/msdosfs/msdosfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_vfsops.c,v 1.72 2015/10/23 10:45:31 krw Exp $ */ +/* $OpenBSD: msdosfs_vfsops.c,v 1.73 2015/10/23 17:21:34 krw Exp $ */ /* $NetBSD: msdosfs_vfsops.c,v 1.48 1997/10/18 02:54:57 briggs Exp $ */ /*- @@ -261,7 +261,7 @@ msdosfs_mount(struct mount *mp, const char *path, void *data, bcopy(&args, &mp->mnt_stat.mount_info.msdosfs_args, sizeof(args)); #ifdef MSDOSFS_DEBUG - printf("msdosfs_mount(): mp %x, pmp %x, inusemap %x\n", mp, + printf("msdosfs_mount(): mp %p, pmp %p, inusemap %p\n", mp, pmp, pmp->pm_inusemap); #endif @@ -647,7 +647,7 @@ msdosfs_root(struct mount *mp, struct vnode **vpp) return (error); #ifdef MSDOSFS_DEBUG - printf("msdosfs_root(); mp %08x, pmp %08x, ndep %08x, vp %08x\n", + printf("msdosfs_root(); mp %p, pmp %p, ndep %p, vp %p\n", mp, pmp, ndep, DETOV(ndep)); #endif |