diff --git a/fusee/fusee-secondary/src/emu_dev.c b/fusee/fusee-secondary/src/emu_dev.c index d21d2a686..49f3f6f61 100644 --- a/fusee/fusee-secondary/src/emu_dev.c +++ b/fusee/fusee-secondary/src/emu_dev.c @@ -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; }