From d917526690686f1d43a07d435c190f971aa17575 Mon Sep 17 00:00:00 2001 From: okuji Date: Wed, 8 Nov 2000 17:33:41 +0000 Subject: [PATCH] change the error number to a more appropriate one in make_saved_active. --- ChangeLog | 6 ++++++ stage2/disk_io.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a2be492c6..e4258a174 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-11-09 OKUJI Yoshinori + + * 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 * docs/user-ref.texi (Features): Update the URL of grub/98. diff --git a/stage2/disk_io.c b/stage2/disk_io.c index f1532937a..6d218e7ea 100644 --- a/stage2/disk_io.c +++ b/stage2/disk_io.c @@ -317,7 +317,7 @@ make_saved_active (void) meaningless. (XXX: Really?) */ if (part > 3) { - errnum = ERR_NO_PART; + errnum = ERR_DEV_VALUES; return 0; }