Fix of errors triggered by more pedantic compile options

This commit is contained in:
Lorenz Meier
2014-04-21 21:31:30 +02:00
parent 27755806d5
commit 267b78f072
4 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -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]);
}
}