diff options
author | phk <phk@FreeBSD.org> | 2003-01-26 12:39:46 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-01-26 12:39:46 +0000 |
commit | 807fc7de0e90b8b2cf8568421a5dc5718faefbfd (patch) | |
tree | 6d1e7ff179a72cb7364f9c9620fc6b6e0406e850 /sbin/bsdlabel/bsdlabel.c | |
parent | 7c6bc189613213ee883959993bb35f7744f4cad6 (diff) | |
download | FreeBSD-src-807fc7de0e90b8b2cf8568421a5dc5718faefbfd.zip FreeBSD-src-807fc7de0e90b8b2cf8568421a5dc5718faefbfd.tar.gz |
Offer better advice in #error.
Remove yet a usage message about -N/-W
Diffstat (limited to 'sbin/bsdlabel/bsdlabel.c')
-rw-r--r-- | sbin/bsdlabel/bsdlabel.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c index 16e5138..1aeec99 100644 --- a/sbin/bsdlabel/bsdlabel.c +++ b/sbin/bsdlabel/bsdlabel.c @@ -109,7 +109,7 @@ __FBSDID("$FreeBSD$"); #elif defined(__alpha__) #define NUMBOOT 1 #else -#error I do not know about this architecture. +#error I do not know about this architecture, and shall probably not be compiled for it. #endif void makelabel(const char *, const char *, struct disklabel *); @@ -1653,16 +1653,14 @@ usage(void) #endif ); #else - fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", + fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n%s\n", "usage: disklabel [-r] disk", "(to read label)", " disklabel -w [-r] [-n] disk type [ packid ]", "\t\t(to write label)", " disklabel -e [-r] [-n] disk", "\t\t(to edit label)", " disklabel -R [-r] [-n] disk protofile", - "\t\t(to restore label)", - " disklabel [-NW] disk", - "\t\t(to write disable/enable label)"); + "\t\t(to restore label)"); #endif exit(1); } |