Signed-off-by: Enrico Jorns <ejo@xxxxxxxxxxxxxx> --- commands/nv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/nv.c b/commands/nv.c index 37cdb96647..798b1eaa04 100644 --- a/commands/nv.c +++ b/commands/nv.c @@ -55,8 +55,10 @@ static int do_nv(int argc, char *argv[]) argc -= optind; argv += optind; - if (argc < 1) + if (argc < 1) { + printf("Invalid usage: Missing argument"); return COMMAND_ERROR_USAGE; + } for (i = 0; i < argc; i++) { value = strchr(argv[0], '='); -- 2.11.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox