slstatus

My fork of https://tools.suckless.org/slstatus/
git clone https://git.inz.fi/slstatus
Log | Files | Refs | README | LICENSE

commit 2289798b6d3565d96cc81d5208c50afa2010e296
parent 96f3a8a54eeb3b2294ed953dad8b15349f3e2703
Author: Aaron Marcher <me@drkhsh.at>
Date:   Wed, 28 Mar 2018 18:49:27 +0200

Remove program name from error messages

Diffstat:
Mslstatus.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slstatus.c b/slstatus.c @@ -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; }