fix potential bugs in some LBA code

This commit is contained in:
okuji committed 1999-08-12 09:38:44 +00:00
1 parent 0f4f88a9d9
commit 7e9a0794d0
7 files changed
+46 -9

No files matched your search

+5 -1
View File
@@ -675,11 +675,15 @@ returnit:
else
{
char *msg;
#ifdef GRUB_UTIL
msg = device_map[current_drive];
#else
if (geom.flags & BIOSDISK_FLAG_LBA_EXTENSION)
msg = "LBA";
else
msg = "CHS";
#endif
grub_printf ("drive 0x%x: C/H/S = %d/%d/%d, "
"The number of sectors = %d, %s\n",