upstream: correct function name in debug message

OpenBSD-Commit-ID: 2482c99d2ce448f39282493050f8a01e3ffc39ab
This commit is contained in:
djm@openbsd.org 2019-11-15 02:20:06 +00:00 committed by Damien Miller
parent 018e2902a6
commit 22a82712e8
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ skdebug(const char *func, const char *fmt, ...)
va_start(ap, fmt);
xvasprintf(&msg, fmt, ap);
va_end(ap);
debug("%s: %s", __func__, msg);
debug("%s: %s", func, msg);
free(msg);
#elif defined(SK_DEBUG)
va_list ap;