Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Fix debug printf format.



details:   https://anonhg.NetBSD.org/src/rev/bedff379d5e8
branches:  trunk
changeset: 537600:bedff379d5e8
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Oct 03 01:42:43 2002 +0000

description:
Fix debug printf format.

diffstat:

 sys/kern/kern_ras.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 17f1e23395c2 -r bedff379d5e8 sys/kern/kern_ras.c
--- a/sys/kern/kern_ras.c       Thu Oct 03 01:29:30 2002 +0000
+++ b/sys/kern/kern_ras.c       Thu Oct 03 01:42:43 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_ras.c,v 1.1 2002/08/28 07:16:39 gmcgarry Exp $    */
+/*     $NetBSD: kern_ras.c,v 1.2 2002/10/03 01:42:43 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_ras.c,v 1.1 2002/08/28 07:16:39 gmcgarry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_ras.c,v 1.2 2002/10/03 01:42:43 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/lock.h>
@@ -240,8 +240,8 @@
        len = (size_t)SCARG(uap, len);
        op = SCARG(uap, op);
 
-       DPRINTF(("sys_rasctl: p=%p addr=%p, len=%d, op=0x%x\n",
-           p, addr, len, op));
+       DPRINTF(("sys_rasctl: p=%p addr=%p, len=%ld, op=0x%x\n",
+           p, addr, (long)len, op));
 
        switch (op) {
        case RAS_INSTALL:



Home | Main Index | Thread Index | Old Index