From c8c6317c59e9866534b350f5b1754c0a6109567c Mon Sep 17 00:00:00 2001 From: guenther Date: Sat, 27 Aug 2016 01:30:39 +0000 Subject: [PATCH] Use %zu for size_t arguments --- usr.sbin/sasyncd/timer.c | 4 ++-- 1 file 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; } -- 2.20.1