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 538bdce64875c11e5886c22c3f5ccbb2fe413a79..224a2b7e2664b4ba4acb889816579412af4b4bb5 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;