common/command.c: Replace magic number with appropriate constant
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
4ef026c304
commit
69f3f7b353
|
@ -83,7 +83,7 @@ int execute_command(int argc, char **argv)
|
|||
#else
|
||||
printf ("Unknown command '%s'\n", argv[0]);
|
||||
#endif
|
||||
ret = 1; /* give up after bad command */
|
||||
ret = COMMAND_ERROR; /* give up after bad command */
|
||||
}
|
||||
|
||||
getopt_context_restore(&gc);
|
||||
|
|
Loading…
Reference in New Issue