Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern size_t needs to printed with %zu
details: https://anonhg.NetBSD.org/src/rev/354918637d74
branches: trunk
changeset: 783585:354918637d74
user: pooka <pooka%NetBSD.org@localhost>
date: Sun Dec 30 20:52:20 2012 +0000
description:
size_t needs to printed with %zu
diffstat:
sys/kern/subr_kobj.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 40915f163519 -r 354918637d74 sys/kern/subr_kobj.c
--- a/sys/kern/subr_kobj.c Sun Dec 30 20:16:58 2012 +0000
+++ b/sys/kern/subr_kobj.c Sun Dec 30 20:52:20 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_kobj.c,v 1.44 2011/08/13 21:04:06 christos Exp $ */
+/* $NetBSD: subr_kobj.c,v 1.45 2012/12/30 20:52:20 pooka Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_kobj.c,v 1.44 2011/08/13 21:04:06 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_kobj.c,v 1.45 2012/12/30 20:52:20 pooka Exp $");
#include "opt_modular.h"
@@ -1013,7 +1013,7 @@
} else if ((uint8_t *)base != (uint8_t *)ko->ko_source + off) {
kobj_error(__func__, __LINE__, ko, "object not aligned");
kobj_error(__func__, __LINE__, ko, "source=%p base=%p off=%d "
- "size=%zd", ko->ko_source, base, (int)off, size);
+ "size=%zu", ko->ko_source, base, (int)off, size);
error = EINVAL;
} else {
/* Nothing to do. Loading in-situ. */
Home |
Main Index |
Thread Index |
Old Index