summaryrefslogtreecommitdiff
path: root/sk-usbhid.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-11-15 02:20:06 +0000
committerDamien Miller <djm@mindrot.org>2019-11-15 13:41:40 +1100
commit22a82712e89bf17c27427aeba15795fb4011a0c2 (patch)
tree5b52e959001090fb338ab7e63f12ab397543faad /sk-usbhid.c
parent018e2902a65c22faded215a7c588492c948f108c (diff)
upstream: correct function name in debug message
OpenBSD-Commit-ID: 2482c99d2ce448f39282493050f8a01e3ffc39ab
Diffstat (limited to 'sk-usbhid.c')
-rw-r--r--sk-usbhid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sk-usbhid.c b/sk-usbhid.c
index c0a6bd0da..f81dc8f28 100644
--- a/sk-usbhid.c
+++ b/sk-usbhid.c
@@ -113,7 +113,7 @@ skdebug(const char *func, const char *fmt, ...)
113 va_start(ap, fmt); 113 va_start(ap, fmt);
114 xvasprintf(&msg, fmt, ap); 114 xvasprintf(&msg, fmt, ap);
115 va_end(ap); 115 va_end(ap);
116 debug("%s: %s", __func__, msg); 116 debug("%s: %s", func, msg);
117 free(msg); 117 free(msg);
118#elif defined(SK_DEBUG) 118#elif defined(SK_DEBUG)
119 va_list ap; 119 va_list ap;