cmd_zfs: normalize 'file not found' errors
authorLuka Perkov <luka@openwrt.org>
Wed, 9 Oct 2013 23:32:28 +0000 (01:32 +0200)
committerTom Rini <trini@ti.com>
Fri, 8 Nov 2013 20:25:13 +0000 (15:25 -0500)
Signed-off-by: Luka Perkov <luka@openwrt.org>
common/cmd_zfs.c

index 911086809baebb4294c2303017da7312f9af84e8..0aed29e9b2c8989d86c3ff14fad67feca692b1f8 100644 (file)
@@ -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;
        }