summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 51323f3..e1a7493 100644
--- a/src/main.c
+++ b/src/main.c
@@ -20,6 +20,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include "commands.h"
@@ -35,7 +36,7 @@ main(int argc, char **argv)
{
if (argc < 2 || strcmp(argv[1], "s_client") != 0) {
usage(stderr, argv[0]);
- return 1;
+ return EXIT_FAILURE;
}
return s_client(argc - 2, argv + 2);