diff options
Diffstat (limited to 'xorg-server/hw/xwin/windisplay.c')
-rw-r--r-- | xorg-server/hw/xwin/windisplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/hw/xwin/windisplay.c b/xorg-server/hw/xwin/windisplay.c index 17f0c7789..d92369850 100644 --- a/xorg-server/hw/xwin/windisplay.c +++ b/xorg-server/hw/xwin/windisplay.c @@ -52,11 +52,11 @@ winGetDisplayName(char *szDisplay, unsigned int screen) snprintf(szDisplay, 512, "127.0.0.1:%s.%d", display, screen); } else if (_XSERVTransIsListening("inet6")) { - snprintf(szDisplay, 512, "::1:%s.%d", display, screen); + snprintf(szDisplay, 512, "[::1]:%s.%d", display, screen); } else { // this can't happen! - ErrorF("winGetDisplay: Don't know what to use for DISPLAY\n"); + winDebug("winGetDisplay: Don't know what to use for DISPLAY\n"); snprintf(szDisplay, 512, "localhost:%s.%d", display, screen); } |