diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2004-08-03 12:10:49 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2004-08-03 12:10:49 +0000 |
commit | 57bba588fb2f5a81bccbc1d52774403db366f7cc (patch) | |
tree | fd33ea2d01625a5dedf9ca15fafd8c53a78b4218 /sys/compat | |
parent | c04b122966d038b53c821703962a4d199da35cee (diff) |
the rest of the '#if DIAGNOSTIC' -> '#ifdef DIAGNOSTIC' in the kernel; ok miod@
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_getcwd.c | 4 | ||||
-rw-r--r-- | sys/compat/netbsd/netbsd_getcwd.c | 4 |
2 files changed, 4 insertions, 4 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)) { 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)) { |