aboutsummaryrefslogtreecommitdiffstats
path: root/src/r-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/r-x11.c')
-rw-r--r--src/r-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r-x11.c b/src/r-x11.c
index b42c852..e869d3b 100644
--- a/src/r-x11.c
+++ b/src/r-x11.c
@@ -76,7 +76,7 @@ int run_clipboard(const char *data)
dpy = XOpenDisplay(NULL); // means use env $DISPLAY
if(!dpy)
- errprint(1, "Open X display failed\n");
+ errprint_r(1, "Open X display failed\n");
screen = DefaultScreen(dpy);
root = RootWindow(dpy, screen);