Change the error message from the command "embed" to "No spare sectors on

the disk".
This commit is contained in:
okuji committed 2001-12-09 21:11:38 +00:00
1 parent 4232395f9f
commit f51d8ce561
8 files changed
+25 -7

No files matched your search

+2 -2
View File
@@ -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;
}