cmd_zfs: normalize 'file not found' errors

Signed-off-by: Luka Perkov <luka@openwrt.org>
master
Luka Perkov 11 years ago committed by Tom Rini
parent 2e18cb267a
commit 01adbce2aa
  1. 2
      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;
}

Loading…
Cancel
Save