summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-06-19 00:44:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-06-19 00:44:02 +0000
commitbc09daa3051d5be92f2f8acd4c023cc20a3d69f7 (patch)
treebc373824ef7c940de554704da8697d05bb6b1079
parentcc4ca0fcdbc9ea8ad5a01cec10228819c26945d8 (diff)
wrap a goto label in the proper #ifdef
-rw-r--r--sys/ufs/ufs/ufs_lookup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_lookup.c b/sys/ufs/ufs/ufs_lookup.c
index 544e1b89d76..a4f794aa4bd 100644
--- a/sys/ufs/ufs/ufs_lookup.c
+++ b/sys/ufs/ufs/ufs_lookup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ufs_lookup.c,v 1.30 2005/06/18 18:09:43 millert Exp $ */
+/* $OpenBSD: ufs_lookup.c,v 1.31 2005/06/19 00:44:01 deraadt Exp $ */
/* $NetBSD: ufs_lookup.c,v 1.7 1996/02/09 22:36:06 christos Exp $ */
/*
@@ -361,7 +361,9 @@ foundentry:
if (ep->d_ino)
enduseful = dp->i_offset;
}
+#ifdef UFS_DIRHASH
notfound:
+#endif
/*
* If we started in the middle of the directory and failed
* to find our target, we must check the beginning as well.