Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Correct type of i in execve_dovmcmds. Fixes DEBUG_...



details:   https://anonhg.NetBSD.org/src/rev/b1242821a828
branches:  trunk
changeset: 328950:b1242821a828
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Apr 25 18:04:45 2014 +0000

description:
Correct type of i in execve_dovmcmds.  Fixes DEBUG_EXEC build.

diffstat:

 sys/kern/kern_exec.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f128b501bc4d -r b1242821a828 sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c      Fri Apr 25 17:50:28 2014 +0000
+++ b/sys/kern/kern_exec.c      Fri Apr 25 18:04:45 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_exec.c,v 1.406 2014/04/20 00:20:01 uebayasi Exp $ */
+/*     $NetBSD: kern_exec.c,v 1.407 2014/04/25 18:04:45 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.406 2014/04/20 00:20:01 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.407 2014/04/25 18:04:45 riastradh Exp $");
 
 #include "opt_exec.h"
 #include "opt_execfmt.h"
@@ -787,7 +787,7 @@
        struct proc             *p = l->l_proc;
        struct exec_vmcmd       *base_vcp;
        int                     error = 0;
-       int                     i;
+       size_t                  i;
 
        /* record proc's vnode, for use by procfs and others */
        if (p->p_textvp)



Home | Main Index | Thread Index | Old Index