interactive-evdev: don't use sysexits.h
authorRan Benita <ran234@gmail.com>
Sun, 27 Jul 2014 13:36:11 +0000 (16:36 +0300)
committerRan Benita <ran234@gmail.com>
Sun, 27 Jul 2014 13:36:11 +0000 (16:36 +0300)
Signed-off-by: Ran Benita <ran234@gmail.com>
test/interactive-evdev.c

index e0fb470..c3c4965 100644 (file)
@@ -29,7 +29,6 @@
 #include <locale.h>
 #include <signal.h>
 #include <string.h>
-#include <sysexits.h>
 #include <unistd.h>
 
 #include <sys/epoll.h>
@@ -389,7 +388,7 @@ main(int argc, char *argv[])
                     argv[0]);
             fprintf(stderr, "For both: -n <evdev keycode offset>\n"
                             "          -c (to report changes to the state)\n");
-            exit(EX_USAGE);
+            exit(2);
         }
     }