summaryrefslogtreecommitdiff
path: root/Xtranssock.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xtranssock.c')
-rw-r--r--Xtranssock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xtranssock.c b/Xtranssock.c
index 06f4556..0e333da 100644
--- a/Xtranssock.c
+++ b/Xtranssock.c
@@ -838,7 +838,7 @@ set_sun_path(const char *port, const char *upath, char *path, int abstract)
if (strlen(port) + strlen(upath) > maxlen)
return -1;
- snprintf(path, "%s%s%s", maxlen+1, at, upath, port);
+ snprintf(path, maxlen+1, "%s%s%s", at, upath, port);
return 0;
}
#endif