diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-21 21:31:30 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-21 21:31:30 +0200 |
commit | 267b78f072b105294e28578d2d8bf28e56ff9fc9 (patch) | |
tree | a2087d28ad3ae09a4827cc8da8bd9bea9cfe2c6d /src/systemcmds/config | |
parent | 27755806d5577c63867b0d78f0c731ac7f374d48 (diff) | |
download | px4-firmware-267b78f072b105294e28578d2d8bf28e56ff9fc9.tar.gz px4-firmware-267b78f072b105294e28578d2d8bf28e56ff9fc9.tar.bz2 px4-firmware-267b78f072b105294e28578d2d8bf28e56ff9fc9.zip |
Fix of errors triggered by more pedantic compile options
Diffstat (limited to 'src/systemcmds/config')
-rw-r--r-- | src/systemcmds/config/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemcmds/config/config.c b/src/systemcmds/config/config.c index 476015f3e..e6d4b763b 100644 --- a/src/systemcmds/config/config.c +++ b/src/systemcmds/config/config.c @@ -121,7 +121,7 @@ do_device(int argc, char *argv[]) errx(ret,"uORB publications could not be unblocked"); } else { - errx("no valid command: %s", argv[1]); + errx(1, "no valid command: %s", argv[1]); } } |