cmd_reiser: normalize 'file not found' errors
Signed-off-by: Luka Perkov <luka@openwrt.org>
This commit is contained in:
parent
7cdebc3289
commit
2e18cb267a
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ int do_reiserload (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||||
|
|
||||||
filelen = reiserfs_open(filename);
|
filelen = reiserfs_open(filename);
|
||||||
if (filelen < 0) {
|
if (filelen < 0) {
|
||||||
printf("** File not found %s\n", filename);
|
printf("** File not found %s **\n", filename);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if ((count < filelen) && (count != 0)) {
|
if ((count < filelen) && (count != 0)) {
|
||||||
|
|
Loading…
Reference in a new issue