diff options
Diffstat (limited to 'xorg-server/hw')
-rw-r--r-- | xorg-server/hw/xwin/windisplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/windisplay.c b/xorg-server/hw/xwin/windisplay.c index 316df5ffb..db7b2f4d8 100644 --- a/xorg-server/hw/xwin/windisplay.c +++ b/xorg-server/hw/xwin/windisplay.c @@ -47,7 +47,7 @@ winGetDisplayName(char *szDisplay, unsigned int screen) } else if (TransIsListening("inet6")) { - snprintf(szDisplay, 512, "::1:%s.%d", display, screen); + snprintf(szDisplay, 512, "[::1]:%s.%d", display, screen); } else { |