From 73eee2402eec80b745141689ecff2d4ecf36035e Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 13 Dec 2006 08:30:26 -0700 Subject: Use XDisplayName() when reporting errors (bug 8079). --- progs/xdemos/glxswapcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progs/xdemos/glxswapcontrol.c') diff --git a/progs/xdemos/glxswapcontrol.c b/progs/xdemos/glxswapcontrol.c index 0ed5ebe4722..d9be984be57 100644 --- a/progs/xdemos/glxswapcontrol.c +++ b/progs/xdemos/glxswapcontrol.c @@ -749,7 +749,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; } -- cgit v1.2.3