diff options
author | guenther <guenther@openbsd.org> | 2016-08-27 01:30:39 +0000 |
---|---|---|
committer | guenther <guenther@openbsd.org> | 2016-08-27 01:30:39 +0000 |
commit | c8c6317c59e9866534b350f5b1754c0a6109567c (patch) | |
tree | 86a4ec7f93e3fa40f20fc5e0a4c509766996aa31 /usr.sbin/sasyncd | |
parent | Pull in <time.h> for one or more of gmtime, strftime, strptime, time, (diff) | |
download | wireguard-openbsd-c8c6317c59e9866534b350f5b1754c0a6109567c.tar.xz wireguard-openbsd-c8c6317c59e9866534b350f5b1754c0a6109567c.zip |
Use %zu for size_t arguments
Diffstat (limited to 'usr.sbin/sasyncd')
-rw-r--r-- | usr.sbin/sasyncd/timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sasyncd/timer.c b/usr.sbin/sasyncd/timer.c index d31a7a1d1ad..798718dc5d8 100644 --- a/usr.sbin/sasyncd/timer.c +++ b/usr.sbin/sasyncd/timer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: timer.c,v 1.5 2015/08/20 22:39:29 deraadt Exp $ */ +/* $OpenBSD: timer.c,v 1.6 2016/08/27 01:30:39 guenther Exp $ */ /* * Copyright (c) 2005 Håkan Olsson. All rights reserved. @@ -115,7 +115,7 @@ timer_add(char *name, u_int32_t when, void (*function)(void *), void *arg) new = calloc(1, sizeof *new); if (!new) { - log_err("timer_add: calloc (1, %u) failed", sizeof *new); + log_err("timer_add: calloc (1, %zu) failed", sizeof *new); return -1; } |