diff options
-rw-r--r-- | blockdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -462,7 +462,7 @@ DriveInfo *drive_init(QemuOpts *opts, int default_to_scsi, int *fatal_error) case IF_COUNT: abort(); } - if (!file) { + if (!file || !*file) { *fatal_error = 0; return NULL; } |