diff options
Diffstat (limited to 'calmwm.c')
-rw-r--r-- | calmwm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/calmwm.c b/calmwm.c index 49584a1..886ee32 100644 --- a/calmwm.c +++ b/calmwm.c @@ -124,7 +124,8 @@ x_setup(char *display_name) TAILQ_INIT(&Screenq); if ((X_Dpy = XOpenDisplay(display_name)) == NULL) - errx(1, "%s:%d XOpenDisplay()", __FILE__, __LINE__); + errx(1, "unable to open display \"%s\"", + XDisplayName(display_name)); XSetErrorHandler(x_errorhandler); |