summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-09-27 00:40:44 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-09-27 00:40:44 +0000
commit8f7a17ca6957d6f9f4899e5c9a1a1a9ba265cbb3 (patch)
tree49826c8aaa032fc32b68c6fba6d91dd5ba3b4a60
parent0000fece49a70882e3a27bbc1245548b0cd1b1e7 (diff)
Oops. Missed a line. Fix so disklabel(8) compiles again.
-rw-r--r--sbin/disklabel/disklabel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c
index a723b098bb5..22e68636fcb 100644
--- a/sbin/disklabel/disklabel.c
+++ b/sbin/disklabel/disklabel.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.c,v 1.100 2006/09/26 23:33:04 krw Exp $ */
+/* $OpenBSD: disklabel.c,v 1.101 2006/09/27 00:40:43 krw Exp $ */
/*
* Copyright (c) 1987, 1993
@@ -39,7 +39,7 @@ static const char copyright[] =
#endif /* not lint */
#ifndef lint
-static const char rcsid[] = "$OpenBSD: disklabel.c,v 1.100 2006/09/26 23:33:04 krw Exp $";
+static const char rcsid[] = "$OpenBSD: disklabel.c,v 1.101 2006/09/27 00:40:43 krw Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -1332,7 +1332,7 @@ getasciilabel(FILE *f, struct disklabel *lp)
if (!strcmp(cp, "flags")) {
for (v = 0; (cp = tp) && *cp != '\0';) {
tp = word(cp);
- else if (!strcmp(cp, "badsect"))
+ if (!strcmp(cp, "badsect"))
v |= D_BADSECT;
else {
warnx("line %d: bad flag: %s",