summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2012-01-02 03:46:39 +0000
committerkrw <krw@openbsd.org>2012-01-02 03:46:39 +0000
commit81b6e3e63680c66119e9c69b4ce515ea1c98d17d (patch)
treea497156b4c53d7fb638946a76d7ca9c22bb94a13
parentTweak usage and man page into agreement. (diff)
downloadwireguard-openbsd-81b6e3e63680c66119e9c69b4ce515ea1c98d17d.tar.xz
wireguard-openbsd-81b6e3e63680c66119e9c69b4ce515ea1c98d17d.zip
Change last "#if (NUMBOOT == 1)" to "#if NUMBOOT > 0".
-rw-r--r--sbin/disklabel/editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index de17e1d4bf7..dcd734c47c7 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: editor.c,v 1.261 2011/12/25 20:00:40 krw Exp $ */
+/* $OpenBSD: editor.c,v 1.262 2012/01/02 03:46:39 krw Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -1727,7 +1727,7 @@ find_bounds(struct disklabel *lp)
" command to change this.\n\n", starting_sector,
ending_sector);
} else {
-#if (NUMBOOT == 1)
+#if NUMBOOT > 0
/* Boot blocks take up the first cylinder */
starting_sector = lp->d_secpercyl;
if (verbose)