change the error number to a more appropriate one in make_saved_active.
This commit is contained in:
parent
dac1ed52b8
commit
d917526690
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2000-11-09 OKUJI Yoshinori <okuji@gnu.org>
|
||||
|
||||
* stage2/disk_io.c (make_saved_active): Set ERRNUM to
|
||||
ERR_DEV_VALUES instead of ERR_NO_PART, when the save partition
|
||||
is not a primary partition.
|
||||
|
||||
2000-11-05 OKUJI Yoshinori <okuji@gnu.org>
|
||||
|
||||
* docs/user-ref.texi (Features): Update the URL of grub/98.
|
||||
|
|
|
@ -317,7 +317,7 @@ make_saved_active (void)
|
|||
meaningless. (XXX: Really?) */
|
||||
if (part > 3)
|
||||
{
|
||||
errnum = ERR_NO_PART;
|
||||
errnum = ERR_DEV_VALUES;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue