diff options
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf.c b/conf.c index 156bb71..f0f1dde 100644 --- a/conf.c +++ b/conf.c @@ -138,7 +138,7 @@ conf_screen(struct screen_ctx *sc) if (sc->xftfont == NULL) { sc->xftfont = XftFontOpenName(X_Dpy, sc->which, Conf.font); if (sc->xftfont == NULL) - errx(1, "XftFontOpenName: %s", Conf.font); + errx(1, "%s: XftFontOpenName: %s", __func__, Conf.font); } for (i = 0; i < nitems(color_binds); i++) { @@ -169,7 +169,7 @@ conf_screen(struct screen_ctx *sc) sc->menu.xftdraw = XftDrawCreate(X_Dpy, sc->menu.win, visual, colormap); if (sc->menu.xftdraw == NULL) - errx(1, "XftDrawCreate"); + errx(1, "%s: XftDrawCreate", __func__); conf_grab_kbd(sc->rootwin); } |