diff options
author | 1996-06-16 10:26:15 +0000 | |
---|---|---|
committer | 1996-06-16 10:26:15 +0000 | |
commit | 5b851707b5f83f55c70cb4e0a0e4e8262a2ad75c (patch) | |
tree | 54ef27184cd26b28a11739f54962378c89dfad4a | |
parent | remove funky mount_* links, no need for update, no -lcrypt (diff) | |
download | wireguard-openbsd-5b851707b5f83f55c70cb4e0a0e4e8262a2ad75c.tar.xz wireguard-openbsd-5b851707b5f83f55c70cb4e0a0e4e8262a2ad75c.zip |
-c == RB_CONFIG; -C == checksum (disabled)
-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') |