9
0
Fork 0

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:
Andrey Smirnov 2015-10-11 11:43:39 -07:00 committed by Sascha Hauer
parent 4ef026c304
commit 69f3f7b353
1 changed files with 1 additions and 1 deletions

View File

@ -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);