Remove program name from error messages
This commit is contained in:
parent
96f3a8a54e
commit
2289798b6d
|
@ -76,7 +76,7 @@ main(int argc, char *argv[])
|
||||||
sigaction(SIGTERM, &act, NULL);
|
sigaction(SIGTERM, &act, NULL);
|
||||||
|
|
||||||
if (!sflag && !(dpy = XOpenDisplay(NULL))) {
|
if (!sflag && !(dpy = XOpenDisplay(NULL))) {
|
||||||
fprintf(stderr, "slstatus: cannot open display");
|
fprintf(stderr, "Cannot open display");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue