Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/amd64 CID 981752: printf format



details:   https://anonhg.NetBSD.org/src/rev/03d14ff1120f
branches:  trunk
changeset: 804145:03d14ff1120f
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Nov 25 19:54:08 2014 +0000

description:
CID 981752: printf format

diffstat:

 sys/arch/amd64/amd64/linux32_syscall.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r d92ef73893da -r 03d14ff1120f sys/arch/amd64/amd64/linux32_syscall.c
--- a/sys/arch/amd64/amd64/linux32_syscall.c    Tue Nov 25 19:51:17 2014 +0000
+++ b/sys/arch/amd64/amd64/linux32_syscall.c    Tue Nov 25 19:54:08 2014 +0000
@@ -1,7 +1,7 @@
-/*     $NetBSD: linux32_syscall.c,v 1.30 2010/12/20 00:25:24 matt Exp $ */
+/*     $NetBSD: linux32_syscall.c,v 1.31 2014/11/25 19:54:08 christos Exp $ */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_syscall.c,v 1.30 2010/12/20 00:25:24 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_syscall.c,v 1.31 2014/11/25 19:54:08 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -66,7 +66,7 @@
        if (__predict_false(p->p_trace_enabled)) {
                narg = callp->sy_narg;
                if (__predict_false(narg > __arraycount(args)))
-                       panic("impossible syscall narg, code %d, narg %zd",
+                       panic("impossible syscall narg, code %d, narg %zu",
                            code, narg);
                for (i = 0; i < narg; i++)
                        args64[i] = args[i] & 0xffffffff;



Home | Main Index | Thread Index | Old Index