Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/47aa19e25c04
branches:  trunk
changeset: 542741:47aa19e25c04
user:      briggs <briggs%NetBSD.org@localhost>
date:      Wed Feb 05 15:38:14 2003 +0000

description:
Fix DIAGNOSTIC printf format.

diffstat:

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

diffs (30 lines):

diff -r f8b65b1c55bc -r 47aa19e25c04 sys/kern/kern_sa.c
--- a/sys/kern/kern_sa.c        Wed Feb 05 15:20:29 2003 +0000
+++ b/sys/kern/kern_sa.c        Wed Feb 05 15:38:14 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_sa.c,v 1.6 2003/02/04 15:54:26 jdolecek Exp $     */
+/*     $NetBSD: kern_sa.c,v 1.7 2003/02/05 15:38:14 briggs Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sa.c,v 1.6 2003/02/04 15:54:26 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sa.c,v 1.7 2003/02/05 15:38:14 briggs Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -929,9 +929,9 @@
                        sadata_upcall_free(sau);
 #ifdef DIAGNOSTIC
                        printf("sa_upcall_userret(%d.%d): couldn't copyout"
-                           " sadata_upcall arg %p size %d to %p \n",
+                           " sadata_upcall arg %p size %ld to %p \n",
                            p->p_pid, l->l_lid,
-                           sau->sau_arg, sau->sau_argsize, ap);
+                           sau->sau_arg, (long) sau->sau_argsize, ap);
 #endif
                        sigexit(l, SIGILL);
                        /* NOTREACHED */



Home | Main Index | Thread Index | Old Index