summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-07-28 22:27:00 +0000
committerpeter <peter@FreeBSD.org>2000-07-28 22:27:00 +0000
commitcfc0cd38b727febe0855fece139dd83b1a200bd9 (patch)
treeae46051419e1185dd72eb8eea8d8ed59b2d301bc /sys/ufs/ffs
parent40fc2e8bd3ef88c6aa47e72dc8bd6cab6c16dc72 (diff)
downloadFreeBSD-src-cfc0cd38b727febe0855fece139dd83b1a200bd9.zip
FreeBSD-src-cfc0cd38b727febe0855fece139dd83b1a200bd9.tar.gz
Minor change: fix warning - move a 'struct vnode *vp' declaration inside a
#ifdef DIAGNOSTIC to match its corresponding usage.
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r--sys/ufs/ffs/ffs_alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c
index 5efe0e7..c7c3184 100644
--- a/sys/ufs/ffs/ffs_alloc.c
+++ b/sys/ufs/ffs/ffs_alloc.c
@@ -1317,7 +1317,9 @@ ffs_blkfree(ip, bno, size)
ufs_daddr_t blkno;
int i, error, cg, blk, frags, bbase;
u_int8_t *blksfree;
+#ifdef DIAGNOSTIC
struct vnode *vp;
+#endif
fs = ip->i_fs;
#ifdef DIAGNOSTIC
OpenPOWER on IntegriCloud