mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
cmd_zfs: normalize 'file not found' errors
Signed-off-by: Luka Perkov <luka@openwrt.org>
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user