diff options
author | BangLang Huang <banglang.huang@foxmail.com> | 2017-02-24 10:58:09 +0800 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-12-13 16:23:40 +0100 |
commit | 2b8830933512e6c9e0c866c5f8977f74acfecf89 (patch) | |
tree | b9a6750c1b0495d03a024880769cba40eb69f15b | |
parent | 118a2ea0bcdfb3895dfdec9fe4b98be5325d6386 (diff) | |
download | upstream-2b8830933512e6c9e0c866c5f8977f74acfecf89.tar.gz upstream-2b8830933512e6c9e0c866c5f8977f74acfecf89.tar.bz2 upstream-2b8830933512e6c9e0c866c5f8977f74acfecf89.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>
(cherry picked from commit 69da83d9f12e4e48b546fc3fc3ff555034959211)
-rw-r--r-- | package/utils/nvram/src/cli.c | 1 |
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; |