diff options
Diffstat (limited to 'lib/libc/sys/stack_protector.c')
-rw-r--r-- | lib/libc/sys/stack_protector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/stack_protector.c b/lib/libc/sys/stack_protector.c index b1b07c2beda..116aecd316a 100644 --- a/lib/libc/sys/stack_protector.c +++ b/lib/libc/sys/stack_protector.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stack_protector.c,v 1.22 2016/03/13 18:34:21 guenther Exp $ */ +/* $OpenBSD: stack_protector.c,v 1.23 2016/03/21 22:41:28 bluhm Exp $ */ /* * Copyright (c) 2002 Hiroaki Etoh, Federico G. Schwindt, and Miodrag Vallat. @@ -68,7 +68,7 @@ __stack_smash_handler(const char func[], int damaged) strlcat(buf, ": stack overflow in function ", sizeof buf); strlcat(buf, func, sizeof buf); - sendsyslog2(buf, strlen(buf), LOG_CONS); + sendsyslog(buf, strlen(buf), LOG_CONS); memset(&sa, 0, sizeof(sa)); sigemptyset(&sa.sa_mask); |