From patchwork Thu Apr 7 18:22:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: multiboot: Quote filename in error message. Date: Thu, 07 Apr 2011 08:22:19 -0000 From: Adam Lackorzynski X-Patchwork-Id: 90221 Message-Id: <1302200539-22908-1-git-send-email-adam@os.inf.tu-dresden.de> To: qemu-devel@nongnu.org Quote filename in error message to spot possible whitespace character in the filename. Signed-off-by: Adam Lackorzynski --- hw/multiboot.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/multiboot.c b/hw/multiboot.c index 0d2bfb4..6be6fa0 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 get image size of '%s'\n", initrd_filename); exit(1); }