summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-09-08 06:38:55 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-09-08 06:38:55 +0000
commit5464bfda4bd281249596add96bdc38c81cf63b2f (patch)
tree2e1ce5517b37196b7ef3544db4ba4c4af96e6fdc
parentbc8561e982002a4a906fe43bd865aeb9f13c484e (diff)
Notes
-rw-r--r--usr.sbin/config/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c
index a54797f35af0..76c2200b7271 100644
--- a/usr.sbin/config/main.c
+++ b/usr.sbin/config/main.c
@@ -90,7 +90,7 @@ usage: fputs("usage: config [-gp] sysname\n", stderr);
perror(PREFIX);
exit(2);
}
-#ifndef CONFIG_DONT_CLOBBER
+#ifdef CONFIG_DONT_CLOBBER
if (stat(p = path((char *)NULL), &buf)) {
#else /* CONFIG_DONT_CLOBBER */
p = path((char *)NULL);
@@ -104,7 +104,7 @@ usage: fputs("usage: config [-gp] sysname\n", stderr);
else if ((buf.st_mode & S_IFMT) != S_IFDIR) {
fprintf(stderr, "config: %s isn't a directory.\n", p);
exit(2);
-#ifdef CONFIG_DONT_CLOBBER
+#ifndef CONFIG_DONT_CLOBBER
}
else {
char tmp[strlen(p) + 8];