change the error number to a more appropriate one in make_saved_active.

This commit is contained in:
okuji 2000-11-08 17:33:41 +00:00
parent dac1ed52b8
commit d917526690
2 changed files with 7 additions and 1 deletions

View file

@ -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> 2000-11-05 OKUJI Yoshinori <okuji@gnu.org>
* docs/user-ref.texi (Features): Update the URL of grub/98. * docs/user-ref.texi (Features): Update the URL of grub/98.

View file

@ -317,7 +317,7 @@ make_saved_active (void)
meaningless. (XXX: Really?) */ meaningless. (XXX: Really?) */
if (part > 3) if (part > 3)
{ {
errnum = ERR_NO_PART; errnum = ERR_DEV_VALUES;
return 0; return 0;
} }