summaryrefslogtreecommitdiffstats
path: root/lib/libc/thread/callbacks.c
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2016-09-02 23:34:37 +0000
committerchl <chl@openbsd.org>2016-09-02 23:34:37 +0000
commitd54a2c0e68a53e6af909590e0f71635d8711bcde (patch)
treec48969068da9c98390fe47bd52c5ca337ec36b50 /lib/libc/thread/callbacks.c
parentstyle polishing (diff)
downloadwireguard-openbsd-d54a2c0e68a53e6af909590e0f71635d8711bcde.tar.xz
wireguard-openbsd-d54a2c0e68a53e6af909590e0f71635d8711bcde.zip
fix format string
ok guenther@
Diffstat (limited to 'lib/libc/thread/callbacks.c')
-rw-r--r--lib/libc/thread/callbacks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/thread/callbacks.c b/lib/libc/thread/callbacks.c
index c57a931b08c..8c4a1af4b96 100644
--- a/lib/libc/thread/callbacks.c
+++ b/lib/libc/thread/callbacks.c
@@ -26,8 +26,8 @@ _thread_set_callbacks(const struct thread_callbacks *cb, size_t len)
sigset_t allmask, omask;
if (sizeof(*cb) != len) {
- fprintf(stderr, "library mismatch: libc expected %z but"
- " libpthread gave %z\n", sizeof(*cb), len);
+ fprintf(stderr, "library mismatch: libc expected %zu but"
+ " libpthread gave %zu\n", sizeof(*cb), len);
fflush(stderr);
_exit(44);
}