From 250cc1ae239c9536dd2247e0af12b0241f9e39c2 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 10 Oct 1994 07:57:33 +0000 Subject: Cosmetics. Silence gcc -Wall --- sys/fs/msdosfs/msdosfs_denode.c | 12 ++++++------ sys/fs/msdosfs/msdosfs_fat.c | 9 ++++----- 2 files changed, 10 insertions(+), 11 deletions(-) (limited to 'sys/fs') diff --git a/sys/fs/msdosfs/msdosfs_denode.c b/sys/fs/msdosfs/msdosfs_denode.c index 357040b..0a62d84 100644 --- a/sys/fs/msdosfs/msdosfs_denode.c +++ b/sys/fs/msdosfs/msdosfs_denode.c @@ -1,4 +1,4 @@ -/* $Id: msdosfs_denode.c,v 1.2 1994/09/27 20:42:44 phk Exp $ */ +/* $Id: msdosfs_denode.c,v 1.3 1994/10/06 21:06:51 davidg Exp $ */ /* $NetBSD: msdosfs_denode.c,v 1.9 1994/08/21 18:44:00 ws Exp $ */ /*- @@ -174,7 +174,7 @@ deget(pmp, dirclust, diroffset, direntptr, depp) struct buf *bp; #ifdef MSDOSFS_DEBUG - printf("deget(pmp %08x, dirclust %d, diroffset %x, direntptr %x, depp %08x)\n", + printf("deget(pmp %p, dirclust %ld, diroffset %x, direntptr %p, depp %p)\n", pmp, dirclust, diroffset, direntptr, depp); #endif @@ -322,7 +322,7 @@ deupdat(dep, tp, waitfor) struct vnode *vp = DETOV(dep); #ifdef MSDOSFS_DEBUG - printf("deupdat(): dep %08x\n", dep); + printf("deupdat(): dep %p\n", dep); #endif /* @@ -609,7 +609,7 @@ msdosfs_reclaim(ap) extern int prtactive; #ifdef MSDOSFS_DEBUG - printf("msdosfs_reclaim(): dep %08x, file %s, refcnt %d\n", + printf("msdosfs_reclaim(): dep %p, file %s, refcnt %ld\n", dep, dep->de_Name, dep->de_refcnt); #endif @@ -651,7 +651,7 @@ msdosfs_inactive(ap) struct timespec ts; #ifdef MSDOSFS_DEBUG - printf("msdosfs_inactive(): dep %08x, de_Name[0] %x\n", dep, dep->de_Name[0]); + printf("msdosfs_inactive(): dep %p, de_Name[0] %x\n", dep, dep->de_Name[0]); #endif if (prtactive && vp->v_usecount != 0) @@ -673,7 +673,7 @@ msdosfs_inactive(ap) * as empty. (This may not be necessary for the dos filesystem.) */ #ifdef MSDOSFS_DEBUG - printf("msdosfs_inactive(): dep %08x, refcnt %d, mntflag %x, MNT_RDONLY %x\n", + printf("msdosfs_inactive(): dep %p, refcnt %ld, mntflag %x, MNT_RDONLY %x\n", dep, dep->de_refcnt, vp->v_mount->mnt_flag, MNT_RDONLY); #endif VOP_LOCK(vp); diff --git a/sys/fs/msdosfs/msdosfs_fat.c b/sys/fs/msdosfs/msdosfs_fat.c index 9ab23a2..2e38296 100644 --- a/sys/fs/msdosfs/msdosfs_fat.c +++ b/sys/fs/msdosfs/msdosfs_fat.c @@ -1,4 +1,4 @@ -/* $Id: msdosfs_fat.c,v 1.1 1994/09/19 15:41:43 dfr Exp $ */ +/* $Id: msdosfs_fat.c,v 1.2 1994/09/27 20:42:46 phk Exp $ */ /* $NetBSD: msdosfs_fat.c,v 1.12 1994/08/21 18:44:04 ws Exp $ */ /*- @@ -310,8 +310,7 @@ updatefats(pmp, bp, fatbn) struct buf *bpn; #ifdef MSDOSFS_DEBUG - printf("updatefats(pmp %08x, bp %08x, fatbn %d)\n", - pmp, bp, fatbn); + printf("updatefats(pmp %p, bp %p, fatbn %ld)\n", pmp, bp, fatbn); #endif /* @@ -526,7 +525,7 @@ fatchain(pmp, start, count, fillwith) struct buf *bp; #ifdef MSDOSFS_DEBUG - printf("fatchain(pmp %08x, start %d, count %d, fillwith %d)\n", + printf("fatchain(pmp %p, start %ld, count %ld, fillwith %ld)\n", pmp, start, count, fillwith); #endif /* @@ -637,7 +636,7 @@ chainalloc(pmp, start, count, fillwith, retcluster, got) error = fatchain(pmp, start, count, fillwith); if (error == 0) { #ifdef MSDOSFS_DEBUG - printf("clusteralloc(): allocated cluster chain at %d (%d clusters)\n", + printf("clusteralloc(): allocated cluster chain at %ld (%ld clusters)\n", start, count); #endif if (retcluster) -- cgit v1.1