2002-12-04 Yoshinori K. Okuji <okuji@enbug.org>

* stage2/disk_io.c (set_device): If '(n' is given, add 'd' into
	DEVICE. Reported by Pavel Roskin.
This commit is contained in:
okuji 2002-12-04 00:45:13 +00:00
parent c18257ea65
commit 772e28b8c2
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2002-12-04 Yoshinori K. Okuji <okuji@enbug.org>
* stage2/disk_io.c (set_device): If '(n' is given, add 'd' into
DEVICE. Reported by Pavel Roskin.
2002-12-03 Yoshinori K. Okuji <okuji@enbug.org> 2002-12-03 Yoshinori K. Okuji <okuji@enbug.org>
Change the terminal structure a bit, to turn the cursor state Change the terminal structure a bit, to turn the cursor state

View file

@ -949,9 +949,9 @@ set_device (char *device)
{ {
char ch = *device; char ch = *device;
if (*device == 'f' || *device == 'h') if (*device == 'f' || *device == 'h' || *device == 'n')
{ {
/* user has given '([fh]', check for resp. add 'd' and /* user has given '([fhn]', check for resp. add 'd' and
let disk_choice handle what disks we have */ let disk_choice handle what disks we have */
if (!*(device + 1)) if (!*(device + 1))
{ {