summaryrefslogtreecommitdiff
path: root/app/xwininfo/dsimple.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-24 15:37:51 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-24 15:37:51 +0000
commit64f81ec387ccd840d6a36768e61e3a17b329e17a (patch)
tree55359c669ebd25b7c42baf2d0897030f206a0c01 /app/xwininfo/dsimple.c
parente868b4ed032e50db9263f2dab8cf4d8f33c20c69 (diff)
Update to xwininfo 1.0.5
Diffstat (limited to 'app/xwininfo/dsimple.c')
-rw-r--r--app/xwininfo/dsimple.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/xwininfo/dsimple.c b/app/xwininfo/dsimple.c
index 171795b79..b70aa43f2 100644
--- a/app/xwininfo/dsimple.c
+++ b/app/xwininfo/dsimple.c
@@ -110,8 +110,7 @@ Display *Open_Display(char *display_name)
if (d == NULL) {
fprintf (stderr, "%s: unable to open display '%s'\n",
program_name, XDisplayName (display_name));
- usage ();
- /* doesn't return */
+ exit(1);
}
return(d);