summaryrefslogtreecommitdiffstats
path: root/progs/xdemos/glthreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/xdemos/glthreads.c')
-rw-r--r--progs/xdemos/glthreads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/glthreads.c b/progs/xdemos/glthreads.c
index 83413383dd4..989697fbcaa 100644
--- a/progs/xdemos/glthreads.c
+++ b/progs/xdemos/glthreads.c
@@ -473,7 +473,7 @@ main(int argc, char *argv[])
dpy = XOpenDisplay(displayName);
if (!dpy) {
- fprintf(stderr, "Unable to open display %s\n", displayName);
+ fprintf(stderr, "Unable to open display %s\n", XDisplayName(displayName));
return -1;
}
}