nvram: add help message for nvram magic not found
authorBangLang Huang <banglang.huang@foxmail.com>
Fri, 24 Feb 2017 02:58:09 +0000 (10:58 +0800)
committerAlexander 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

index 538bdce..224a2b7 100644 (file)
@@ -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;