From patchwork Thu Apr 7 18:22:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Lackorzynski X-Patchwork-Id: 90221 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D5CF91007D1 for ; Fri, 8 Apr 2011 04:23:34 +1000 (EST) Received: from localhost ([127.0.0.1]:47742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7trf-0005fq-Oo for incoming@patchwork.ozlabs.org; Thu, 07 Apr 2011 14:23:32 -0400 Received: from [140.186.70.92] (port=47255 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7tqZ-0005d5-8N for qemu-devel@nongnu.org; Thu, 07 Apr 2011 14:22:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7tqW-0003hT-Py for qemu-devel@nongnu.org; Thu, 07 Apr 2011 14:22:22 -0400 Received: from os.inf.tu-dresden.de ([141.76.48.99]:38368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7tqW-0003hN-Km for qemu-devel@nongnu.org; Thu, 07 Apr 2011 14:22:20 -0400 Received: from erwin.inf.tu-dresden.de ([141.76.48.80] helo=x) by os.inf.tu-dresden.de with esmtp (Exim 4.75) id 1Q7tqV-00076u-Ej for qemu-devel@nongnu.org; Thu, 07 Apr 2011 20:22:19 +0200 From: Adam Lackorzynski To: qemu-devel@nongnu.org Date: Thu, 7 Apr 2011 20:22:19 +0200 Message-Id: <1302200539-22908-1-git-send-email-adam@os.inf.tu-dresden.de> X-Mailer: git-send-email 1.7.4.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 141.76.48.99 Subject: [Qemu-devel] [PATCH] multiboot: Quote filename in error message. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@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); }