summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-11-22 16:01:14 -0800
committerIan Lance Taylor <iant@golang.org>2020-11-23 08:14:20 -0800
commitbcbde431aa4366da18ac1687afb0bef6e4072d49 (patch)
tree170243e5969a46575d3d9227078d4a249ff3782a /libgo
parentfd62daea40e09c1e6d599a6171db6b298d6c362e (diff)
downloadgcc-bcbde431aa4366da18ac1687afb0bef6e4072d49.tar.gz
log/syslog: correct asm name for C function
Patch from Rainer Orth. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/272259
Diffstat (limited to 'libgo')
-rw-r--r--libgo/go/log/syslog/syslog_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/log/syslog/syslog_c.c b/libgo/go/log/syslog/syslog_c.c
index 329df404efd..acfee6e2bc5 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)