mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 01:29:27 +00:00
Change the error message from the command "embed" to "No spare sectors on
the disk".
This commit is contained in:
1 parent
4232395f9f
commit
f51d8ce561
8 files changed
+25
-7
No files matched your search
+2
-2
@@ -1034,7 +1034,7 @@ embed_func (char *arg, int flags)
|
||||
/* Check if the disk can store the Stage 1.5. */
|
||||
if (PC_SLICE_START (mbr, 0) - 1 < size)
|
||||
{
|
||||
errnum = ERR_DEV_VALUES;
|
||||
errnum = ERR_NO_DISK_SPACE;
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -1051,7 +1051,7 @@ embed_func (char *arg, int flags)
|
||||
/* The space after the MBR is used by EZ-BIOS which we must
|
||||
* not overwrite.
|
||||
*/
|
||||
errnum = ERR_DEV_VALUES;
|
||||
errnum = ERR_NO_DISK_SPACE;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user