summaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-08 04:44:02 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-08 04:44:02 +0000
commita0819726307cb74afc29b220abd4ccd122470c53 (patch)
treea32b78933a2e67cf8cf9e76e3d1bad27f25f115b /sys/ufs
parent45d1b7375425efe465adbd36404c57c54bcf8a4d (diff)
Let this build when the internal DIAGNOSTIC define is removed.
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_softdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index 080ca2b7f10..17497459d83 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_softdep.c,v 1.37 2002/03/14 01:27:14 millert Exp $ */
+/* $OpenBSD: ffs_softdep.c,v 1.38 2002/06/08 04:44:01 art Exp $ */
/*
* Copyright 1998, 2000 Marshall Kirk McKusick. All Rights Reserved.
*
@@ -3206,7 +3206,9 @@ initiate_write_inodeblock(inodedep, bp)
struct allocdirect *adp, *lastadp;
struct dinode *dp;
struct fs *fs;
+#ifdef DIAGNOSTIC
ufs_lbn_t prevlbn = 0;
+#endif
int i, deplist;
if (inodedep->id_state & IOSTARTED)