commit c0077fcc5cf2c77d3415de3ecb6c9f187ebc6c09
parent f2f86a484a0e2dfa5a33ff83ba55bb0c7dd55a72
Author: Anselm R. Garbe <arg@10kloc.org>
Date: Tue, 10 Oct 2006 19:23:03 +0200
small fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/swarp.c b/swarp.c
@@ -21,7 +21,7 @@ main(int argc, char **argv) {
goto Usage;
if(!(dpy = XOpenDisplay(0))) {
fputs("swarp: cannot open display\n", stderr);
- exit(1);
+ exit(EXIT_FAILURE);
}
if((sscanf(argv[1], "%d", &x) != 1) || (sscanf(argv[2], "%d", &y) != 1)) {
Usage: