diff options
Diffstat (limited to 'components/keyboard_indicators.c')
-rw-r--r-- | components/keyboard_indicators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/keyboard_indicators.c b/components/keyboard_indicators.c index 2f831c8..73ba32e 100644 --- a/components/keyboard_indicators.c +++ b/components/keyboard_indicators.c @@ -11,7 +11,7 @@ keyboard_indicators(void) XKeyboardState state; if (!(dpy = XOpenDisplay(NULL))) { - fprintf(stderr, "Cannot open display\n"); + warn("XOpenDisplay: Failed to open display"); return NULL; } XGetKeyboardControl(dpy, &state); |