projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d160024
)
pc.c: better error message on initrd sizing failure
author
Michael S. Tsirkin
<mst@redhat.com>
Sun, 2 Feb 2014 20:45:28 +0000
(22:45 +0200)
committer
Michael S. Tsirkin
<mst@redhat.com>
Wed, 5 Feb 2014 14:55:50 +0000
(16:55 +0200)
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c
patch
|
blob
|
history
diff --git
a/hw/i386/pc.c
b/hw/i386/pc.c
index 348b15f267a472ae1458769199c3423643c57f15..e715a3312d31054c04d8cb2676c3344a87a5e778 100644
(file)
--- a/
hw/i386/pc.c
+++ b/
hw/i386/pc.c
@@
-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);
}