X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/7fe240856eef7b56d8ca0b57fd5642dbdc5b89b1..e213b48122f1f8e8d837053324d9c891a67a38d2:/slstatus.c diff --git a/slstatus.c b/slstatus.c index e6aa90b..96fa5b6 100644 --- a/slstatus.c +++ b/slstatus.c @@ -100,7 +100,8 @@ main(int argc, char *argv[]) if (ferror(stdout)) die("puts:"); } else { - if (XStoreName(dpy, DefaultRootWindow(dpy), status) < 0) { + if (XStoreName(dpy, DefaultRootWindow(dpy), status) + < 0) { die("XStoreName: Allocation failed"); } XFlush(dpy);