diff options
author | ru <ru@FreeBSD.org> | 2005-12-30 15:29:50 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-12-30 15:29:50 +0000 |
commit | 9d1801a10554429dd1cfce2268b2f14d02e25509 (patch) | |
tree | 89491ff57608e5c7f7419acbfdb5462531473285 /usr.sbin/config/mkoptions.c | |
parent | e1d71bf7ffd9ed8d01e36055fb6e58ec68e88197 (diff) | |
download | FreeBSD-src-9d1801a10554429dd1cfce2268b2f14d02e25509.zip FreeBSD-src-9d1801a10554429dd1cfce2268b2f14d02e25509.tar.gz |
Clean up most of the "XXX"-tagged items:
- The code that creates hints.c and env.c from the skeleton files
moved into separate functions.
- Sanity checks for missing "ident" and "cputype" directives moved
into main(), alongside the existing check for "machine".
PR: bin/90310
Submitted by: Matt Emmerton <matt@gsicomp.on.ca>
Diffstat (limited to 'usr.sbin/config/mkoptions.c')
-rw-r--r-- | usr.sbin/config/mkoptions.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.sbin/config/mkoptions.c b/usr.sbin/config/mkoptions.c index 3e2dcf7..d757815 100644 --- a/usr.sbin/config/mkoptions.c +++ b/usr.sbin/config/mkoptions.c @@ -290,10 +290,6 @@ read_options(void) char genopt[MAXPATHLEN]; SLIST_INIT(&otab); - if (ident == NULL) { - printf("no ident line specified\n"); - exit(1); - } (void) snprintf(fname, sizeof(fname), "../../conf/options"); openit: fp = fopen(fname, "r"); |