From: Aaron Marcher Date: Wed, 28 Mar 2018 16:49:27 +0000 (+0200) Subject: Remove program name from error messages X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=2289798b6d3565d96cc81d5208c50afa2010e296;p=suckless%2Fslstatus.git 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; }