sys_mremap: unwrap a short line

This commit is contained in:
yamt 2010-08-16 01:21:10 +00:00
parent 359c089365
commit 86b3a16608

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvm_mremap.c,v 1.15 2009/08/02 16:07:34 yamt Exp $ */
/* $NetBSD: uvm_mremap.c,v 1.16 2010/08/16 01:21:10 yamt Exp $ */
/*-
* Copyright (c)2006,2007,2009 YAMAMOTO Takashi,
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: uvm_mremap.c,v 1.15 2009/08/02 16:07:34 yamt Exp $");
__KERNEL_RCSID(0, "$NetBSD: uvm_mremap.c,v 1.16 2010/08/16 01:21:10 yamt Exp $");
#include <sys/param.h>
#include <sys/mman.h>
@ -287,8 +287,7 @@ sys_mremap(struct lwp *l, const struct sys_mremap_args *uap, register_t *retval)
p = l->l_proc;
map = &p->p_vmspace->vm_map;
error = uvm_mremap(map, oldva, oldsize, map, &newva, newsize, p,
flags);
error = uvm_mremap(map, oldva, oldsize, map, &newva, newsize, p, flags);
done:
*retval = (error != 0) ? 0 : (register_t)newva;