qubes-restore: make error message more truthful

This commit is contained in:
Vincent Penquerc'h 2013-12-30 09:19:06 -05:00 committed by Marek Marczykowski-Górecki
parent f3850b7a71
commit f34728c0bb

View File

@ -221,7 +221,7 @@ char *get_vmname_from_savefile(int fd)
name = strstr(buf, NAME_PATTERN); name = strstr(buf, NAME_PATTERN);
if (!name) { if (!name) {
fprintf(stderr, fprintf(stderr,
"cannot find 'volatile.img' in savefile\n"); "cannot find '"NAME_PATTERN"' in savefile\n");
exit(1); exit(1);
} }
*name = 0; *name = 0;