summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.so/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/util.c b/libexec/ld.so/util.c
index 916f874cb5d..3d660a969be 100644
--- a/libexec/ld.so/util.c
+++ b/libexec/ld.so/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.46 2019/05/08 22:15:48 deraadt Exp $ */
+/* $OpenBSD: util.c,v 1.47 2020/03/27 22:17:47 matthieu Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -54,7 +54,7 @@ __stack_smash_handler(char func[], int damaged)
if (_dl_strlen(message) > sizeof(message)/2)
_dl_strlcpy(message + sizeof(message)/2, "...",
sizeof(message) - sizeof(message)/2);
- _dl_strlcat(message, "stack overflow in function ", sizeof message);
+ _dl_strlcat(message, " stack overflow in function ", sizeof message);
_dl_strlcat(message, func, sizeof message);
_dl_sendsyslog(message, _dl_strlen(message), LOG_CONS);