aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/nvram/src/cli.c
diff options
context:
space:
mode:
authorBangLang Huang <banglang.huang@foxmail.com>2017-02-24 10:58:09 +0800
committerAlexander Couzens <lynxis@fe80.eu>2017-08-22 14:31:32 +0200
commit69da83d9f12e4e48b546fc3fc3ff555034959211 (patch)
treec0e2a2dc0bcfb514ae13532b7c7e6aec0d89974f /package/utils/nvram/src/cli.c
parentc7e2a6fe923dc86bab14d94ead322a045efca4c9 (diff)
downloadupstream-69da83d9f12e4e48b546fc3fc3ff555034959211.tar.gz
upstream-69da83d9f12e4e48b546fc3fc3ff555034959211.tar.bz2
upstream-69da83d9f12e4e48b546fc3fc3ff555034959211.zip
nvram: add help message for nvram magic not found
The program would failed if nvram magic not found in specific partition. Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
Diffstat (limited to 'package/utils/nvram/src/cli.c')
-rw-r--r--package/utils/nvram/src/cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/utils/nvram/src/cli.c b/package/utils/nvram/src/cli.c
index 538bdce648..224a2b7e26 100644
--- 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;