diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-27 01:30:40 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-27 01:30:40 +0000 |
commit | b66f05033fecb01561885b4d1bb5422e5ab47492 (patch) | |
tree | 82735ec5dbca4f1253e5de2c09fc8baeaa1bc5b6 | |
parent | 26a86d99043f36b64a35f37f88506cb82daf4f47 (diff) |
Use %zu for size_t arguments
-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; } |