diff options
Diffstat (limited to 'src/image.c')
-rw-r--r-- | src/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c index 4857f7f..c5939bd 100644 --- a/src/image.c +++ b/src/image.c @@ -72,7 +72,7 @@ static void image_missing_values_from_name(struct image * image, const char * na image->type = image_type_from_string(type); free(type); - if ( ! image->device ) + if ( ! image->device || image->device == DEVICE_ANY ) image->device = device_from_string(device); free(device); |