summaryrefslogtreecommitdiff
path: root/progs/xdemos/manywin.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/xdemos/manywin.c')
-rw-r--r--progs/xdemos/manywin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/manywin.c b/progs/xdemos/manywin.c
index c9cca75134..cfea555210 100644
--- a/progs/xdemos/manywin.c
+++ b/progs/xdemos/manywin.c
@@ -59,7 +59,7 @@ static GLuint TexObj = 0;
static void
Error(const char *display, const char *msg)
{
- fprintf(stderr, "Error on display %s - %s\n", display, msg);
+ fprintf(stderr, "Error on display %s - %s\n", XDisplayName(display), msg);
exit(1);
}