[hackers] [slstatus] Remove program name from error messages || Aaron Marcher

From: <git_AT_suckless.org>
Date: Wed, 28 Mar 2018 19:49:12 +0200 (CEST)

commit 2289798b6d3565d96cc81d5208c50afa2010e296
Author: Aaron Marcher <me_AT_drkhsh.at>
AuthorDate: Wed Mar 28 18:49:27 2018 +0200
Commit: Aaron Marcher <me_AT_drkhsh.at>
CommitDate: Wed Mar 28 18:49:27 2018 +0200

    Remove program name from error messages

diff --git a/slstatus.c b/slstatus.c
index f7c4503..b05d915 100644
--- a/slstatus.c
+++ b/slstatus.c
_AT_@ -76,7 +76,7 @@ main(int argc, char *argv[])
         sigaction(SIGTERM, &act, NULL);
 
         if (!sflag && !(dpy = XOpenDisplay(NULL))) {
- fprintf(stderr, "slstatus: cannot open display");
+ fprintf(stderr, "Cannot open display");
                 return 1;
         }
 
Received on Wed Mar 28 2018 - 19:49:12 CEST

This archive was generated by hypermail 2.3.0 : Wed Mar 28 2018 - 20:00:28 CEST