diff options
author | peter <peter@FreeBSD.org> | 2001-02-04 13:17:38 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-02-04 13:17:38 +0000 |
commit | c417101ae55dd9941fb03ce6fce4955a6a2a2e8f (patch) | |
tree | e28a112e1254fefe9d7243b6c77f8470b3757ba5 /usr.sbin/config/main.c | |
parent | e87f7a15ad62e1dd25061ddb301662e809692c2c (diff) | |
download | FreeBSD-src-c417101ae55dd9941fb03ce6fce4955a6a2a2e8f.zip FreeBSD-src-c417101ae55dd9941fb03ce6fce4955a6a2a2e8f.tar.gz |
Remove the need to list each and every cpu platform. Config will now
take your word for the 'machine' switch.
Diffstat (limited to 'usr.sbin/config/main.c')
-rw-r--r-- | usr.sbin/config/main.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index 32be90d..acc5647 100644 --- a/usr.sbin/config/main.c +++ b/usr.sbin/config/main.c @@ -146,16 +146,7 @@ main(int argc, char **argv) dtab = NULL; if (yyparse()) exit(3); - switch (machine) { - - case MACHINE_I386: - case MACHINE_PC98: - case MACHINE_ALPHA: - case MACHINE_IA64: - case MACHINE_POWERPC: - break; - - default: + if (machinename == NULL) { printf("Specify machine type, e.g. ``machine i386''\n"); exit(1); } |