From 2b8830933512e6c9e0c866c5f8977f74acfecf89 Mon Sep 17 00:00:00 2001 From: BangLang Huang Date: Fri, 24 Feb 2017 10:58:09 +0800 Subject: [PATCH] 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 (cherry picked from commit 69da83d9f12e4e48b546fc3fc3ff555034959211) --- package/utils/nvram/src/cli.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2