summaryrefslogtreecommitdiffstats
path: root/sys/compat/netbsd/netbsd_getcwd.c
diff options
context:
space:
mode:
authortodd <todd@openbsd.org>2004-08-03 12:10:47 +0000
committertodd <todd@openbsd.org>2004-08-03 12:10:47 +0000
commit13ed211af12090c81080ff2eeba291ea5bed983c (patch)
tree74bcb8ecac93ceffcb2c5ec84eeb97d3fa0977eb /sys/compat/netbsd/netbsd_getcwd.c
parentdisplay route labels with "route get", and allow them to be set (diff)
downloadwireguard-openbsd-13ed211af12090c81080ff2eeba291ea5bed983c.tar.xz
wireguard-openbsd-13ed211af12090c81080ff2eeba291ea5bed983c.zip
the rest of the '#if DIAGNOSTIC' -> '#ifdef DIAGNOSTIC' in the kernel; ok miod@
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)) {