summaryrefslogtreecommitdiff
path: root/usr.sbin/config/main.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-01-04 18:30:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-01-04 18:30:06 +0000
commit27fd401569750304c84062fbd263c0ddc9ffb4e9 (patch)
tree31cae54062a308f658e39ed89d05873ef295aa6b /usr.sbin/config/main.c
parent0e1adc1ef708c6d4bbd352ef834deb2247c3a329 (diff)
knf and lint
Diffstat (limited to 'usr.sbin/config/main.c')
-rw-r--r--usr.sbin/config/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c
index 48cb7aea2cb..2d2cb808db0 100644
--- a/usr.sbin/config/main.c
+++ b/usr.sbin/config/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.35 2004/01/04 00:47:01 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.36 2004/01/04 18:30:05 deraadt Exp $ */
/* $NetBSD: main.c,v 1.22 1997/02/02 21:12:33 thorpej Exp $ */
/*
@@ -658,17 +658,17 @@ setupdirs(void)
madedir = 1;
} else if (!S_ISDIR(st.st_mode)) {
(void)fprintf(stderr, "config: %s is not a directory\n",
- builddir);
+ builddir);
exit(2);
}
if (chdir(builddir) != 0) {
(void)fprintf(stderr, "config: cannot change to %s\n",
- builddir);
+ builddir);
exit(2);
}
if (stat(srcdir, &st) != 0 || !S_ISDIR(st.st_mode)) {
(void)fprintf(stderr, "config: %s is not a directory\n",
- srcdir);
+ srcdir);
exit(2);
}
}