summaryrefslogtreecommitdiff
path: root/contrib/sloppy.c
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2013-06-05 00:20:59 +0200
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2013-06-05 00:20:59 +0200
commit89df18eef0e12cc308e69adee192856bdc9e7098 (patch)
tree70b8defc37afc7f889197e8deb30cd15e8bcc326 /contrib/sloppy.c
parent3735257a6752491cdb1628225e028e15806466c8 (diff)
downloadratpoison-89df18eef0e12cc308e69adee192856bdc9e7098.zip
contrib/{unrat,sloppy}.c: perror(3) makes no sense here
Diffstat (limited to 'contrib/sloppy.c')
-rw-r--r--contrib/sloppy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/sloppy.c b/contrib/sloppy.c
index 361508f..066dce1 100644
--- a/contrib/sloppy.c
+++ b/contrib/sloppy.c
@@ -60,7 +60,7 @@ main (void)
display = XOpenDisplay(NULL);
if(!display)
{
- perror("could not open display");
+ fprintf (stderr, "sloppy: could not open display\n");
exit(1);
}