From patchwork Wed Oct 9 23:32:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luka Perkov X-Patchwork-Id: 282093 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 0B8992C010A for ; Thu, 10 Oct 2013 10:42:27 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7099B4A080; Thu, 10 Oct 2013 01:42:18 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZMAZG2puOeW8; Thu, 10 Oct 2013 01:42:18 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C208B4A0B0; Thu, 10 Oct 2013 01:42:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1762C4A0A9 for ; Thu, 10 Oct 2013 01:42:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xYS-05d7-Jpw for ; Thu, 10 Oct 2013 01:42:01 +0200 (CEST) X-Greylist: delayed 469 seconds by postgrey-1.27 at theia; Thu, 10 Oct 2013 01:41:50 CEST X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) by theia.denx.de (Postfix) with ESMTPS id 8E06E4A080 for ; Thu, 10 Oct 2013 01:41:50 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 565BD284475; Thu, 10 Oct 2013 01:32:56 +0200 (CEST) X-Virus-Scanned: at arrakis.dune.hu Received: from w500.lan (213-191-157-153.dhcp.iskon.hr [213.191.157.153]) by arrakis.dune.hu (Postfix) with ESMTPSA id BA21C28033C; Thu, 10 Oct 2013 01:32:55 +0200 (CEST) From: Luka Perkov To: u-boot@lists.denx.de Date: Thu, 10 Oct 2013 01:32:28 +0200 Message-Id: <1381361548-7792-3-git-send-email-luka@openwrt.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1381361548-7792-1-git-send-email-luka@openwrt.org> References: <1381361548-7792-1-git-send-email-luka@openwrt.org> Cc: Luka Perkov Subject: [U-Boot] [PATCH 3/3] cmd_zfs: normalize 'file not found' errors X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Luka Perkov --- common/cmd_zfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_zfs.c b/common/cmd_zfs.c index 9110868..0aed29e 100644 --- a/common/cmd_zfs.c +++ b/common/cmd_zfs.c @@ -95,7 +95,7 @@ static int do_zfs_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[] memset(&zfile, 0, sizeof(zfile)); zfile.device = &vdev; if (zfs_open(&zfile, filename)) { - printf("** File not found %s\n", filename); + printf("** File not found %s **\n", filename); return 1; }