diff options
author | Brian <[email protected]> | 2006-12-13 08:30:26 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2006-12-13 08:30:26 -0700 |
commit | 73eee2402eec80b745141689ecff2d4ecf36035e (patch) | |
tree | 7f2e3c5e11fe42ca3611a1c0df8211e38b8dec1c /progs/xdemos/opencloseopen.c | |
parent | 5b35132b41427798e02a66a8e39583fffbe9d232 (diff) |
Use XDisplayName() when reporting errors (bug 8079).
Diffstat (limited to 'progs/xdemos/opencloseopen.c')
-rw-r--r-- | progs/xdemos/opencloseopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/opencloseopen.c b/progs/xdemos/opencloseopen.c index 2e4de24c71d..0b8d0618431 100644 --- a/progs/xdemos/opencloseopen.c +++ b/progs/xdemos/opencloseopen.c @@ -91,7 +91,7 @@ make_window( const char * dpyName, const char *name, dpy = XOpenDisplay(dpyName); if (!dpy) { - printf("Error: couldn't open display %s\n", dpyName); + printf("Error: couldn't open display %s\n", XDisplayName(dpyName)); exit(1); } |