diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2015-10-11 11:43:39 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-10-15 08:56:21 +0200 |
commit | 69f3f7b353b645b42452b4bf7817eb4e99f13bd1 (patch) | |
tree | ff85d93e2144147097b0a57205b25ba21baede20 /common | |
parent | 4ef026c30483a724bd577bf739e1da2474bc1001 (diff) | |
download | barebox-69f3f7b353b645b42452b4bf7817eb4e99f13bd1.tar.gz barebox-69f3f7b353b645b42452b4bf7817eb4e99f13bd1.tar.xz |
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>
Diffstat (limited to 'common')
-rw-r--r-- | common/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/command.c b/common/command.c index dc2cb88eaf..03c70834d1 100644 --- a/common/command.c +++ b/common/command.c @@ -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); |