diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-28 08:26:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-28 08:26:59 +0000 |
commit | e824886d8e6d1a27bef1c90336bcb6e0a0606adc (patch) | |
tree | 19b908dad0869ac31f00d264d3eb20524f95aaa2 /sbin | |
parent | 5c4f6d8c43e537299dabbe41c25bcf60a8236a92 (diff) |
boot1[] only needed if NUMBOOT > 1; frueauf@ira.uka.de
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/disklabel/disklabel.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c index 3f769622678..8593e5545fc 100644 --- a/sbin/disklabel/disklabel.c +++ b/sbin/disklabel/disklabel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.c,v 1.33 1997/07/19 20:35:37 niklas Exp $ */ +/* $OpenBSD: disklabel.c,v 1.34 1997/07/28 08:26:58 deraadt Exp $ */ /* $NetBSD: disklabel.c,v 1.30 1996/03/14 19:49:24 ghudson Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char rcsid[] = "$OpenBSD: disklabel.c,v 1.33 1997/07/19 20:35:37 niklas Exp $"; +static char rcsid[] = "$OpenBSD: disklabel.c,v 1.34 1997/07/28 08:26:58 deraadt Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -99,8 +99,10 @@ int bootsize; /* size of remaining boot program */ char *xxboot; /* primary boot */ char *bootxx; /* secondary boot */ char boot0[MAXPATHLEN]; +#if NUMBOOT > 1 char boot1[MAXPATHLEN]; #endif +#endif enum { UNSPEC, EDIT, READ, RESTORE, SETWRITEABLE, WRITE, WRITEBOOT |