summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>1999-01-10 21:50:32 +0000
committerart <art@openbsd.org>1999-01-10 21:50:32 +0000
commit1858e2c32203cd8c277f546f6059380ede2e75b6 (patch)
treece52173f901cfd795474ea3127632324885796a2
parentvm_map_deallocate: only release the simple lock when ref_count > 0. in the other case the simple lock is released in vm_map_lock_drain_*interlock* (diff)
downloadwireguard-openbsd-1858e2c32203cd8c277f546f6059380ede2e75b6.tar.xz
wireguard-openbsd-1858e2c32203cd8c277f546f6059380ede2e75b6.zip
make this work with MSDOSFS_DEBUG
-rw-r--r--sys/msdosfs/msdosfs_fat.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/msdosfs/msdosfs_fat.c b/sys/msdosfs/msdosfs_fat.c
index 3bf6fccfbf3..772bdfb67e9 100644
--- a/sys/msdosfs/msdosfs_fat.c
+++ b/sys/msdosfs/msdosfs_fat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_fat.c,v 1.7 1998/05/02 09:03:03 deraadt Exp $ */
+/* $OpenBSD: msdosfs_fat.c,v 1.8 1999/01/10 21:50:32 art Exp $ */
/* $NetBSD: msdosfs_fat.c,v 1.26 1997/10/17 11:24:02 ws Exp $ */
/*-
@@ -337,8 +337,7 @@ updatefats(pmp, bp, fatbn)
struct buf *bpn;
#ifdef MSDOSFS_DEBUG
- printf("fatentry(func %d, pmp %08x, clust %d, oldcon %08x, newcon %d)\n",
- function, pmp, cluster, oldcontents, newcontents);
+ printf("updatefats(pmp %08, buf %x, fatbn %ld)\n", pmp, bp, fatbn);
#endif
/*
@@ -512,7 +511,7 @@ fatentry(function, pmp, cn, oldcontents, newcontents)
#ifdef MSDOSFS_DEBUG
printf("fatentry(func %d, pmp %08x, clust %d, oldcon %08x, newcon %d)\n",
- function, pmp, cluster, oldcontents, newcontents);
+ function, pmp, cn, oldcontents, newcontents);
#endif
#ifdef DIAGNOSTIC