Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/regress/sys/kern/allocfree PR/50941: David Binderman: fix pr...
details: https://anonhg.NetBSD.org/src/rev/abc039422ed6
branches: trunk
changeset: 344049:abc039422ed6
user: christos <christos%NetBSD.org@localhost>
date: Fri Mar 11 18:26:40 2016 +0000
description:
PR/50941: David Binderman: fix printf format
diffstat:
regress/sys/kern/allocfree/allocfree.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a79a133115e4 -r abc039422ed6 regress/sys/kern/allocfree/allocfree.c
--- a/regress/sys/kern/allocfree/allocfree.c Fri Mar 11 17:17:35 2016 +0000
+++ b/regress/sys/kern/allocfree/allocfree.c Fri Mar 11 18:26:40 2016 +0000
@@ -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 @@
int i;
for (i = 1; i <= ncpu; i++) {
- printf("%d\t%d", sz, i);
+ printf("%zu\t%d", sz, i);
run1(i);
}
}
Home |
Main Index |
Thread Index |
Old Index