summaryrefslogtreecommitdiff
path: root/progs/xdemos/glxgears_fbconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/xdemos/glxgears_fbconfig.c')
-rw-r--r--progs/xdemos/glxgears_fbconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/glxgears_fbconfig.c b/progs/xdemos/glxgears_fbconfig.c
index acbadd21ac..2dac00b75d 100644
--- a/progs/xdemos/glxgears_fbconfig.c
+++ b/progs/xdemos/glxgears_fbconfig.c
@@ -575,7 +575,7 @@ main(int argc, char *argv[])
dpy = XOpenDisplay(dpyName);
if (!dpy) {
- printf("Error: couldn't open display %s\n", dpyName);
+ printf("Error: couldn't open display %s\n", XDisplayName(dpyName));
return -1;
}