Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/sys/kern Pull up revision 1.26 (requested by riz in ticke...
details: https://anonhg.NetBSD.org/src/rev/b60ab64f5b37
branches: netbsd-3
changeset: 576328:b60ab64f5b37
user: tron <tron%NetBSD.org@localhost>
date: Tue Jun 28 10:25:25 2005 +0000
description:
Pull up revision 1.26 (requested by riz in ticket #508):
Use %zx in a format string to print a size_t, not %lx, so a kernel
with KSYMS_DEBUG will compile.
diffstat:
sys/kern/kern_ksyms.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9177085bdab8 -r b60ab64f5b37 sys/kern/kern_ksyms.c
--- a/sys/kern/kern_ksyms.c Mon Jun 27 09:21:15 2005 +0000
+++ b/sys/kern/kern_ksyms.c Tue Jun 28 10:25:25 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_ksyms.c,v 1.23 2005/02/26 21:34:55 perry Exp $ */
+/* $NetBSD: kern_ksyms.c,v 1.23.2.1 2005/06/28 10:25:25 tron Exp $ */
/*
* Copyright (c) 2001, 2003 Anders Magnusson (ragge%ludd.luth.se@localhost).
* All rights reserved.
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_ksyms.c,v 1.23 2005/02/26 21:34:55 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_ksyms.c,v 1.23.2.1 2005/06/28 10:25:25 tron Exp $");
#ifdef _KERNEL
#include "opt_ddb.h"
@@ -1070,7 +1070,7 @@
#ifdef KSYMS_DEBUG
if (ksyms_debug & FOLLOW_DEVKSYMS)
- printf("ksymsread: offset 0x%llx resid 0x%lx\n",
+ printf("ksymsread: offset 0x%llx resid 0x%zx\n",
(long long)uio->uio_offset, uio->uio_resid);
#endif
Home |
Main Index |
Thread Index |
Old Index