diff options
author | BangLang Huang <banglang.huang@foxmail.com> | 2017-02-24 10:58:09 +0800 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2017-08-22 14:31:32 +0200 |
commit | 69da83d9f12e4e48b546fc3fc3ff555034959211 (patch) | |
tree | c0e2a2dc0bcfb514ae13532b7c7e6aec0d89974f /package/utils/nvram/src/cli.c | |
parent | c7e2a6fe923dc86bab14d94ead322a045efca4c9 (diff) | |
download | upstream-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.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; |