]> git.sur5r.net Git - i3/i3/blobdiff - testcases/inject_randr1.5.c
Remove \n from errx and die messages
[i3/i3] / testcases / inject_randr1.5.c
index 520b021315a61013a071a5d5a34197d575d37054..29b6a33d4c8636a02fd994e58202c68759d1964b 100644 (file)
@@ -402,7 +402,7 @@ int main(int argc, char *argv[]) {
     }
 
     if (optind >= argc) {
-        errx(EXIT_FAILURE, "syntax: %s [options] <command>\n", argv[0]);
+        errx(EXIT_FAILURE, "syntax: %s [options] <command>", argv[0]);
     }
 
     int fd = socket(AF_LOCAL, SOCK_STREAM, 0);