mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
pc.c: better error message on initrd sizing failure
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
d160024fe5
commit
7454e51d2b
1 changed files with 2 additions and 2 deletions
|
@ -835,8 +835,8 @@ static void load_linux(FWCfgState *fw_cfg,
|
|||
|
||||
initrd_size = get_image_size(initrd_filename);
|
||||
if (initrd_size < 0) {
|
||||
fprintf(stderr, "qemu: error reading initrd %s\n",
|
||||
initrd_filename);
|
||||
fprintf(stderr, "qemu: error reading initrd %s: %s\n",
|
||||
initrd_filename, strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue