1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-23 02:42:09 +00:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}