From: BangLang Huang Date: Fri, 24 Feb 2017 02:58:09 +0000 (+0800) Subject: nvram: add help message for nvram magic not found X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=69da83d9f12e4e48b546fc3fc3ff555034959211;p=openwrt%2Fstaging%2Fblogic.git 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 --- diff --git a/package/utils/nvram/src/cli.c b/package/utils/nvram/src/cli.c index 538bdce64875..224a2b7e2664 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;