fusee: fix emummc multipart device
This commit is contained in:
1 parent
1671c04e24
commit
ec4d078d6d
1 file changed
+1
-1
@@ -164,7 +164,7 @@ int emudev_mount_device_multipart(const char *name, const device_partition_t *de
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Invalid number of parts. */
|
/* Invalid number of parts. */
|
||||||
if (num_parts <= 1) {
|
if (num_parts < 1) {
|
||||||
errno = EINVAL;
|
errno = EINVAL;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user