Skip to content
Snippets Groups Projects
Commit 01adbce2 authored by Luka Perkov's avatar Luka Perkov Committed by Tom Rini
Browse files

cmd_zfs: normalize 'file not found' errors


Signed-off-by: default avatarLuka Perkov <luka@openwrt.org>
parent 2e18cb26
No related branches found
No related tags found
No related merge requests found
...@@ -95,7 +95,7 @@ static int do_zfs_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[] ...@@ -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)); memset(&zfile, 0, sizeof(zfile));
zfile.device = &vdev; zfile.device = &vdev;
if (zfs_open(&zfile, filename)) { if (zfs_open(&zfile, filename)) {
printf("** File not found %s\n", filename); printf("** File not found %s **\n", filename);
return 1; return 1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment