diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-05-18 19:06:39 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-05-18 19:06:39 +0000 |
commit | 1028f31a04fc348244b6396b6d9deb28ae323a97 (patch) | |
tree | 2456c41632eda4dcae53098cb352799fa9ad6ffe /sbin/disklabel | |
parent | 1acd77efe2bb757ea9221df31742be3925ac6292 (diff) |
Minor glitch when no boot is used fixed.
Diffstat (limited to 'sbin/disklabel')
-rw-r--r-- | sbin/disklabel/disklabel.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c index b39d399f577..37d25dedaf4 100644 --- a/sbin/disklabel/disklabel.c +++ b/sbin/disklabel/disklabel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.c,v 1.5 1996/05/17 15:32:58 mickey Exp $ */ +/* $OpenBSD: disklabel.c,v 1.6 1996/05/18 19:06:38 pefo Exp $ */ /* $NetBSD: disklabel.c,v 1.30 1996/03/14 19:49:24 ghudson Exp $ */ /* @@ -427,6 +427,8 @@ writelabel(f, boot, lp) } sectoffset = 0; } + +#if NUMBOOT > 0 /* * If we are not installing a boot program * we must read the current bootarea so we don't @@ -447,6 +449,7 @@ writelabel(f, boot, lp) *lp =tlab; } #endif +#endif /* * First set the kernel disk label, |