projects
/
openwrt
/
staging
/
aparcar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7e2a6f
)
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
Alexander Couzens
<lynxis@fe80.eu>
Tue, 22 Aug 2017 12:31:32 +0000
(14:31 +0200)
The program would failed if nvram magic not found
in specific partition.
Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
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;