summaryrefslogtreecommitdiff
path: root/sys/compat/netbsd/netbsd_getcwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/netbsd/netbsd_getcwd.c')
-rw-r--r--sys/compat/netbsd/netbsd_getcwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/netbsd/netbsd_getcwd.c b/sys/compat/netbsd/netbsd_getcwd.c
index f78a8628557..5c5a00ebde6 100644
--- a/sys/compat/netbsd/netbsd_getcwd.c
+++ b/sys/compat/netbsd/netbsd_getcwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netbsd_getcwd.c,v 1.6 2002/03/14 01:26:50 millert Exp $ */
+/* $OpenBSD: netbsd_getcwd.c,v 1.7 2004/08/03 12:10:47 todd Exp $ */
/* $NetBSD: vfs_getcwd.c,v 1.3.2.3 1999/07/11 10:24:09 sommerfeld Exp $ */
/*-
@@ -481,7 +481,7 @@ netbsd_getcwd_common (lvp, rvp, bpp, bufp, limit, flags, p)
error = netbsd_getcwd_scandir(&lvp, &uvp, &bp, bufp, p);
if (error)
goto out;
-#if DIAGNOSTIC
+#ifdef DIAGNOSTIC
if (lvp != NULL)
panic("getcwd: oops, forgot to null lvp");
if (bufp && (bp <= bufp)) {