summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2016-03-11 18:26:40 +0000
committerchristos <christos@NetBSD.org>2016-03-11 18:26:40 +0000
commit72ee8205a2158f0c7e72925652ce0cfe529277ff (patch)
tree332542f6e702609c5fbcc3b543ab0ef903b8b23d /regress
parentbc5eccfe22a7192a9389ca601b5ed88f83a0d01a (diff)
PR/50941: David Binderman: fix printf format
Diffstat (limited to 'regress')
-rw-r--r--regress/sys/kern/allocfree/allocfree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/sys/kern/allocfree/allocfree.c b/regress/sys/kern/allocfree/allocfree.c
index b9cbce645d1..27091cc6e0e 100644
--- a/regress/sys/kern/allocfree/allocfree.c
+++ b/regress/sys/kern/allocfree/allocfree.c
@@ -1,4 +1,4 @@
-/* $NetBSD: allocfree.c,v 1.1 2008/12/20 22:29:05 ad Exp $ */
+/* $NetBSD: allocfree.c,v 1.2 2016/03/11 18:26:40 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: allocfree.c,v 1.1 2008/12/20 22:29:05 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: allocfree.c,v 1.2 2016/03/11 18:26:40 christos Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -241,7 +241,7 @@ run0(void)
int i;
for (i = 1; i <= ncpu; i++) {
- printf("%d\t%d", sz, i);
+ printf("%zu\t%d", sz, i);
run1(i);
}
}