summaryrefslogtreecommitdiffstats
path: root/src/os_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index bd7b219961..0e2760988b 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -8032,7 +8032,7 @@ xsmp_init(void)
&smcallbacks,
NULL,
&xsmp.clientid,
- sizeof(errorstring),
+ sizeof(errorstring) - 1,
errorstring);
if (xsmp.smcconn == NULL)
{