diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-20 08:59:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-20 08:59:41 +0000 |
commit | 4ad42bb4c0bab148a53f42a11d7a480276d2d95b (patch) | |
tree | e6a9892aef8c5191c3cbdf9ba0957fa0dafdfc27 | |
parent | ae9306f7eab65f7f7d87e112df18f130790ff5cd (diff) |
sparc/sun3 labels want cyl-alignment; grr
-rw-r--r-- | sbin/disklabel/Makefile | 4 | ||||
-rw-r--r-- | sbin/disklabel/disklabel.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sbin/disklabel/Makefile b/sbin/disklabel/Makefile index 83f24c97537..15b32f340e6 100644 --- a/sbin/disklabel/Makefile +++ b/sbin/disklabel/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 1996/09/24 04:35:17 deraadt Exp $ +# $OpenBSD: Makefile,v 1.8 1997/04/20 08:59:36 deraadt Exp $ # $NetBSD: Makefile,v 1.18 1995/10/17 16:34:04 cgd Exp $ # @(#)Makefile 8.2 (Berkeley) 3/17/94 @@ -27,7 +27,7 @@ CFLAGS+= -DNUMBOOT=1 .endif .if (${MACHINE} == "sun3") || (${MACHINE} == "sparc") -CFLAGS+= -DSEEALSO="\"installboot(8)\"" +CFLAGS+= -DSEEALSO="\"installboot(8)\"" -DCYLCHECK .endif .if (${MACHINE} == "mvme68k") || (${MACHINE} == "mvme68k") diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c index db13e58c4e6..207fd72bb34 100644 --- a/sbin/disklabel/disklabel.c +++ b/sbin/disklabel/disklabel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.c,v 1.29 1997/04/10 22:26:13 millert Exp $ */ +/* $OpenBSD: disklabel.c,v 1.30 1997/04/20 08:59:40 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.29 1997/04/10 22:26:13 millert Exp $"; +static char rcsid[] = "$OpenBSD: disklabel.c,v 1.30 1997/04/20 08:59:40 deraadt Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -1387,7 +1387,7 @@ checklabel(lp) if (pp->p_size == 0 && pp->p_offset != 0) warnx("warning, partition %c: size 0, but offset %d", part, pp->p_offset); -#ifdef notdef +#ifdef CYLCHECK if (pp->p_size % lp->d_secpercyl) warnx("warning, partition %c: size %% cylinder-size != 0", part); |