fusee: fix emummc multipart device

This commit is contained in:
hexkyz
2019-06-21 22:14:14 +01:00
committed by GitHub
parent 1671c04e24
commit ec4d078d6d

View File

@@ -164,7 +164,7 @@ int emudev_mount_device_multipart(const char *name, const device_partition_t *de
}
/* Invalid number of parts. */
if (num_parts <= 1) {
if (num_parts < 1) {
errno = EINVAL;
return -1;
}