log/syslog: correct asm name for C function

Patch from Rainer Orth.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/272259
This commit is contained in:
Ian Lance Taylor 2020-11-22 16:01:14 -08:00
parent fd62daea40
commit bcbde431aa
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
36a7b789130b415c2fe7f8e3fc62ffbca265e3aa
78c9a657fdbc9e812d39910fb93fbae4affe4360
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.

View File

@ -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)