commit | 22a82712e89bf17c27427aeba15795fb4011a0c2 | [log] [tgz] |
---|---|---|
author | djm@openbsd.org <djm@openbsd.org> | Fri Nov 15 02:20:06 2019 +0000 |
committer | Damien Miller <djm@mindrot.org> | Fri Nov 15 13:41:40 2019 +1100 |
tree | 5b52e959001090fb338ab7e63f12ab397543faad | |
parent | 018e2902a65c22faded215a7c588492c948f108c [diff] |
upstream: correct function name in debug message OpenBSD-Commit-ID: 2482c99d2ce448f39282493050f8a01e3ffc39ab
diff --git a/sk-usbhid.c b/sk-usbhid.c index c0a6bd0..f81dc8f 100644 --- a/sk-usbhid.c +++ b/sk-usbhid.c
@@ -113,7 +113,7 @@ 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;