[source] nvram: add help message for nvram magic not found
LEDE Commits
lede-commits at lists.infradead.org
Tue Aug 22 05:32:33 PDT 2017
lynxis pushed a commit to source.git, branch master:
https://git.lede-project.org/69da83d9f12e4e48b546fc3fc3ff555034959211
commit 69da83d9f12e4e48b546fc3fc3ff555034959211
Author: BangLang Huang <banglang.huang at foxmail.com>
AuthorDate: Fri Feb 24 10:58:09 2017 +0800
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 at foxmail.com>
---
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 538bdce..224a2b7 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;
More information about the lede-commits
mailing list