projects
/
openwrt
/
staging
/
kaloz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
118a2ea
)
nvram: add help message for nvram magic not found
author
BangLang Huang
<banglang.huang@foxmail.com>
Fri, 24 Feb 2017 02:58:09 +0000
(10:58 +0800)
committer
Jo-Philipp Wich
<jo@mein.io>
Wed, 13 Dec 2017 15:23:40 +0000
(16:23 +0100)
The program would failed if nvram magic not found
in specific partition.
Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
(cherry picked from commit
69da83d9f12e4e48b546fc3fc3ff555034959211
)
package/utils/nvram/src/cli.c
patch
|
blob
|
history
diff --git
a/package/utils/nvram/src/cli.c
b/package/utils/nvram/src/cli.c
index 538bdce64875c11e5886c22c3f5ccbb2fe413a79..224a2b7e2664b4ba4acb889816579412af4b4bb5 100644
(file)
--- a/
package/utils/nvram/src/cli.c
+++ b/
package/utils/nvram/src/cli.c
@@
-240,6
+240,7
@@
int main( int argc, const char *argv[] )
" - Insufficient permissions to open mtd device\n"
" - Insufficient memory to complete operation\n"
" - Memory mapping failed or not supported\n"
+ " - Nvram magic not found in specific nvram partition\n"
);
stat = 1;