Module Name: src Committed By: riastradh Date: Fri Apr 25 18:04:45 UTC 2014
Modified Files: src/sys/kern: kern_exec.c Log Message: Correct type of i in execve_dovmcmds. Fixes DEBUG_EXEC build. To generate a diff of this commit: cvs rdiff -u -r1.406 -r1.407 src/sys/kern/kern_exec.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kern_exec.c diff -u src/sys/kern/kern_exec.c:1.406 src/sys/kern/kern_exec.c:1.407 --- src/sys/kern/kern_exec.c:1.406 Sun Apr 20 00:20:01 2014 +++ src/sys/kern/kern_exec.c Fri Apr 25 18:04:45 2014 @@ -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 @@ execve_dovmcmds(struct lwp *l, struct ex 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)