From bcbde431aa4366da18ac1687afb0bef6e4072d49 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 22 Nov 2020 16:01:14 -0800 Subject: log/syslog: correct asm name for C function Patch from Rainer Orth. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/272259 --- libgo/go/log/syslog/syslog_c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgo') diff --git a/libgo/go/log/syslog/syslog_c.c b/libgo/go/log/syslog/syslog_c.c index 329df40..acfee6e 100644 --- a/libgo/go/log/syslog/syslog_c.c +++ b/libgo/go/log/syslog/syslog_c.c @@ -12,7 +12,7 @@ can't represent a C varargs function in Go. */ void syslog_c(intgo, const char*) - __asm__ (GOSYM_PREFIX "log_1syslog.syslog_c"); + __asm__ (GOSYM_PREFIX "log_1syslog.syslog__c"); void syslog_c (intgo priority, const char *msg) -- cgit v1.1