summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_getcwd.c
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2004-08-03 12:10:49 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2004-08-03 12:10:49 +0000
commit57bba588fb2f5a81bccbc1d52774403db366f7cc (patch)
treefd33ea2d01625a5dedf9ca15fafd8c53a78b4218 /sys/compat/linux/linux_getcwd.c
parentc04b122966d038b53c821703962a4d199da35cee (diff)
the rest of the '#if DIAGNOSTIC' -> '#ifdef DIAGNOSTIC' in the kernel; ok miod@
Diffstat (limited to 'sys/compat/linux/linux_getcwd.c')
-rw-r--r--sys/compat/linux/linux_getcwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_getcwd.c b/sys/compat/linux/linux_getcwd.c
index 09ffc5404b7..5fe168f12f0 100644
--- a/sys/compat/linux/linux_getcwd.c
+++ b/sys/compat/linux/linux_getcwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_getcwd.c,v 1.4 2004/06/22 23:52:18 jfb Exp $ */
+/* $OpenBSD: linux_getcwd.c,v 1.5 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 $ */
/*-
@@ -487,7 +487,7 @@ linux_getcwd_common (lvp, rvp, bpp, bufp, limit, flags, p)
error = linux_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)) {