diff options
author | Nian Wu <nian@graphics.(none)> | 2006-12-17 10:49:43 -0800 |
---|---|---|
committer | Nian Wu <nian@graphics.(none)> | 2006-12-17 10:49:43 -0800 |
commit | ead0f46d5f9213f03f6c4b956aa96eda8fd0f1df (patch) | |
tree | 4bbccbf08f451ebfaab5eecbf97bd587927e0887 /progs/xdemos/pbinfo.c | |
parent | c34d026eb001a9178119ed7cdf70a7311cdc263f (diff) | |
parent | 77b862a84910713760665ca5af5e27fba48466dc (diff) |
Merge branch 'crestline' into crestline-qa
Diffstat (limited to 'progs/xdemos/pbinfo.c')
-rw-r--r-- | progs/xdemos/pbinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/pbinfo.c b/progs/xdemos/pbinfo.c index 88d93c8da6..b43adf1bb7 100644 --- a/progs/xdemos/pbinfo.c +++ b/progs/xdemos/pbinfo.c @@ -95,7 +95,7 @@ main(int argc, char *argv[]) dpy = XOpenDisplay(dpyName); if (!dpy) { - printf("Error: couldn't open display %s\n", dpyName ? dpyName : ":0"); + printf("Error: couldn't open display %s\n", XDisplayName(dpyName)); return 1; } |