diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-16 10:26:16 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-16 10:26:16 +0000 |
commit | a4347e0c9a56ac5892f3e145f98004e700558eaa (patch) | |
tree | 1d9700fa4d659d9315cc53aefeaf733b7125036d /sys/arch/i386/boot/boot.c | |
parent | 0644a884223b58bd309ec1408ca1094ca75ed0fb (diff) |
-c == RB_CONFIG; -C == checksum (disabled)
Diffstat (limited to 'sys/arch/i386/boot/boot.c')
-rw-r--r-- | sys/arch/i386/boot/boot.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/i386/boot/boot.c b/sys/arch/i386/boot/boot.c index 8845307697c..77b91bbe05e 100644 --- a/sys/arch/i386/boot/boot.c +++ b/sys/arch/i386/boot/boot.c @@ -297,7 +297,7 @@ getbootdev(howto) { static char namebuf[100]; /* don't allocate on stack! */ char c, *ptr = namebuf; - printf("Boot: [[[%s(%d,%c)]%s][-adrs]] : ", + printf("Boot: [[[%s(%d,%c)]%s][-abcdrs]] : ", devs[maj], unit, 'a'+part, name); #ifdef CHECKSUM cflag = 0; @@ -314,8 +314,10 @@ getbootdev(howto) *howto |= RB_ASKNAME; else if (c == 'b') *howto |= RB_HALT; -#ifdef CHECKSUM else if (c == 'c') + *howto |= RB_CONFIG; +#ifdef CHECKSUM + else if (c == 'C') cflag = 1; #endif else if (c == 'd') |