mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 18:19:23 +00:00
Corrected the check for IS_PC_SLICE_TYPE_MINIX; minix was only working
if slice type was wrong! Reported by Ralf Medow <ralf.medow@t-online.de>.
This commit is contained in:
1 parent
8eff936f97
commit
8fe3b6de83
2 files changed
+8
-2
No files matched your search
+2
-2
@@ -160,8 +160,8 @@ struct minix_dir_entry {
|
||||
int
|
||||
minix_mount (void)
|
||||
{
|
||||
if (((current_drive & 0x80 || current_slice != 0))
|
||||
&& IS_PC_SLICE_TYPE_MINIX (current_slice)
|
||||
if (((current_drive & 0x80) || current_slice != 0)
|
||||
&& ! IS_PC_SLICE_TYPE_MINIX (current_slice)
|
||||
&& ! IS_PC_SLICE_TYPE_BSD_WITH_FS (current_slice, FS_OTHER))
|
||||
return 0; /* The partition is not of MINIX type */
|
||||
|
||||
|
||||
Reference in new issue
Block a user