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

cmd_reiser: normalize 'file not found' errors


Signed-off-by: default avatarLuka Perkov <luka@openwrt.org>
parent 7cdebc32
No related branches found
No related tags found
No related merge requests found
...@@ -141,7 +141,7 @@ int do_reiserload (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) ...@@ -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)) {
......
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