From 8f7a17ca6957d6f9f4899e5c9a1a1a9ba265cbb3 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Wed, 27 Sep 2006 00:40:44 +0000 Subject: Oops. Missed a line. Fix so disklabel(8) compiles again. --- sbin/disklabel/disklabel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin') 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 @@ -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", -- cgit v1.2.3