cdrom.c: slightly better "wrong hash" message
This should be marginally more readable.
This commit is contained in:
parent
8d2cd5aec8
commit
c51df4c834
6
cdrom.c
6
cdrom.c
@ -84,11 +84,11 @@ static enum return_type do_with_device(char * dev_name, char * dev_model)
|
||||
enum return_type results;
|
||||
umount(IMAGE_LOCATION);
|
||||
if (IS_VERIFICATION)
|
||||
snprintf(msg, sizeof(msg), "That ISO (on %s) does not seem like proper %s"
|
||||
" media: hash verification failed.\nRetry with another one?", dev_name, version);
|
||||
snprintf(msg, sizeof(msg), "ISO on /dev/%s does not seem to contain proper %s"
|
||||
" media:\nhash verification failed.\nTry another media in that drive?", dev_name, version);
|
||||
else
|
||||
snprintf(msg, sizeof(msg), "That ISO does not seem like proper %s"
|
||||
" media.\nRetry with another one?", version);
|
||||
" media.\nTry another media in that drive?", version);
|
||||
results = ask_yes_no(msg);
|
||||
if (results == RETURN_OK)
|
||||
return try_with_device(dev_name, dev_model);
|
||||
|
Loading…
Reference in New Issue
Block a user