From patchwork Fri Apr 24 17:41:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 464306 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 17FF3140187 for ; Sat, 25 Apr 2015 03:41:56 +1000 (AEST) Received: from localhost ([::1]:45832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ylhbv-00047P-15 for incoming@patchwork.ozlabs.org; Fri, 24 Apr 2015 13:41:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ylhbb-0003aK-Us for qemu-devel@nongnu.org; Fri, 24 Apr 2015 13:41:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlhbX-00064J-SP for qemu-devel@nongnu.org; Fri, 24 Apr 2015 13:41:35 -0400 Received: from david.siemens.de ([192.35.17.14]:43660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlhbX-000640-Im; Fri, 24 Apr 2015 13:41:31 -0400 Received: from mail3.siemens.de (localhost [127.0.0.1]) by david.siemens.de (8.14.3/8.14.3) with ESMTP id t3OHfSWW007494; Fri, 24 Apr 2015 19:41:28 +0200 Received: from md1f2u6c.ww002.siemens.net (md1f2u6c.mch.sbs.de [139.25.40.156] (may be forged)) by mail3.siemens.de (8.14.3/8.14.3) with ESMTP id t3OHfSb7016720; Fri, 24 Apr 2015 19:41:28 +0200 Message-ID: <553A8046.7080709@siemens.com> Date: Fri, 24 Apr 2015 19:41:26 +0200 From: Jan Kiszka User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: qemu-trivial X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 192.35.17.14 Cc: qemu-devel Subject: [Qemu-devel] [PATCH] hostmem: Fix mem-path property name in error report X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The subtle difference between "property not found" and "property not set" is already confusing enough. Signed-off-by: Jan Kiszka Reviewed-by: Peter Crosthwaite --- backends/hostmem-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/hostmem-file.c b/backends/hostmem-file.c index 5179994..4b55361 100644 --- a/backends/hostmem-file.c +++ b/backends/hostmem-file.c @@ -43,7 +43,7 @@ file_backend_memory_alloc(HostMemoryBackend *backend, Error **errp) return; } if (!fb->mem_path) { - error_setg(errp, "mem_path property not set"); + error_setg(errp, "mem-path property not set"); return; } #ifndef CONFIG_LINUX