diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-12 00:00:15 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-12 00:00:15 +0000 |
commit | 0e13bd5c0ba9e9332e57b6339384465e3c24449b (patch) | |
tree | 64833d35e5cee802f65ad8176bc552051ea2ca98 /sys/arch | |
parent | b7652e33378f5d83ae05332a05229a72cf03d0b1 (diff) |
do not print boot_file, noone cares
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/zaurus/zaurus/autoconf.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/arch/zaurus/zaurus/autoconf.c b/sys/arch/zaurus/zaurus/autoconf.c index 565db823edb..e7a128a263a 100644 --- a/sys/arch/zaurus/zaurus/autoconf.c +++ b/sys/arch/zaurus/zaurus/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.2 2005/04/21 00:15:43 deraadt Exp $ */ +/* $OpenBSD: autoconf.c,v 1.3 2005/11/12 00:00:14 deraadt Exp $ */ /* $NetBSD: autoconf.c,v 1.2 2001/09/05 16:17:36 matt Exp $ */ /* @@ -307,9 +307,7 @@ rootconf() extern char *nfsbootdevname; #endif - printf("boot_file: '%s'\n", boot_file); - - if(boothowto & RB_DFLTROOT) + if (boothowto & RB_DFLTROOT) return; /* Boot compiled in */ /* @@ -330,10 +328,10 @@ rootconf() } /* Lookup boot device from boot if not set by configuration */ - if(bootdv == NULL) { + if (bootdv == NULL) { bootdv = parsedisk(boot_file, strlen(boot_file), 0, &temp); } - if(bootdv == NULL) { + if (bootdv == NULL) { printf("boot device: lookup '%s' failed.\n", boot_file); boothowto |= RB_ASKNAME; /* Don't Panic :-) */ /* boothowto |= RB_SINGLE; */ @@ -423,8 +421,7 @@ gotswap: dumpdev = nswapdev; swdevt[0].sw_dev = nswapdev; swdevt[1].sw_dev = NODEV; - } - else if(mountroot == NULL) { + } else if (mountroot == NULL) { /* * `swap generic': Use the device the ROM told us to use. */ |