From 2191ea5a514281c28682f52424f741cafc836bab Mon Sep 17 00:00:00 2001 From: riastradh Date: Fri, 25 Apr 2014 18:04:45 +0000 Subject: [PATCH] Correct type of i in execve_dovmcmds. Fixes DEBUG_EXEC build. --- sys/kern/kern_exec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 8a9aa3e48add..f7e3f75c9451 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -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 -__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 execve_data * restrict data) 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)