commit 2289798b6d3565d96cc81d5208c50afa2010e296 Author: Aaron Marcher <m...@drkhsh.at> AuthorDate: Wed Mar 28 18:49:27 2018 +0200 Commit: Aaron Marcher <m...@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 @@ -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; }