diff options
author | Adam Lackorzynski | 2011-04-08 08:48:42 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2011-04-09 11:40:46 +0200 |
commit | f95857b34d284895816f2091ef4fc6d9460ebf3b (patch) | |
tree | aa20ed07defbf15e0874312d4342ac0c3c57c356 /hw/multiboot.c | |
parent | ppce500_mpc8544ds: Fix compile with --enable-debug and --disable-kvm (diff) | |
download | qemu-f95857b34d284895816f2091ef4fc6d9460ebf3b.tar.gz qemu-f95857b34d284895816f2091ef4fc6d9460ebf3b.tar.xz qemu-f95857b34d284895816f2091ef4fc6d9460ebf3b.zip |
multiboot: Quote filename in error message
Quote filename in error message to spot possible whitespace character in
the filename and make error message more meaningful.
Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'hw/multiboot.c')
-rw-r--r-- | hw/multiboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/multiboot.c b/hw/multiboot.c index 0d2bfb4973..394ed0136e 100644 --- a/hw/multiboot.c +++ b/hw/multiboot.c @@ -272,7 +272,7 @@ int load_multiboot(void *fw_cfg, mb_debug("multiboot loading module: %s\n", initrd_filename); mb_mod_length = get_image_size(initrd_filename); if (mb_mod_length < 0) { - fprintf(stderr, "failed to get %s image size\n", initrd_filename); + fprintf(stderr, "Failed to open file '%s'\n", initrd_filename); exit(1); } |