[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] PR #2122 (boot -a)
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: [PATCH] PR #2122 (boot -a)
- From: Thorsten Glaser <x86_(_at_)_ePost_(_dot_)_de>
- Date: Sat, 7 Jun 2003 16:57:32 +0000 (UTC)
- Reply-by: Sun Apr 1 23:42:37 UTC 2001
Hello people,
I discovered a (possible) fix for PR#2122, 'boot -a'
not working since the pcvt->wscons switch in 2.8-current.
--- /usr/OBSD/src/sys/arch/i386/i386/autoconf.c Thu Jun 5 16:10:30 2003
+++ autoconf.c Sat Jun 7 16:47:16 2003
@@ -355,7 +355,9 @@
char name[128];
retry:
printf("root device? ");
+ cnpollc(TRUE);
getsn(name, sizeof name);
+ cnpollc(FALSE);
if (*name == '\0')
goto noask;
for (gc = genericconf; gc->gc_driver; gc++)
Please bear in mind that my mailer seems to "eat" whitespace
like other people breakfast, and don't yell at me if that
does not apply cleanly as-is (that above is output from
diff -u, so it's clean).
//Thorsten
--
Willst Du wegen dummer User immer 'Ja, ich will' nach einem rm an /dev/tty
eingeben müssen? -- Bodo Eggert in de.alt.sysadmin.recovery
Visit your host, monkey.org