From d402fa74fdbd76f9b8ed02750baa527965ab2902 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 25 Mar 2024 15:17:00 -0700 Subject: [PATCH] fixup! Gratuitous style bug. --- sys/kern/kern_exec.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index c7eda38b6465..dbfc7268b53e 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -1074,10 +1074,9 @@ exec_map_first_page(struct image_params *imgp) if (object == NULL) return (EACCES); #if VM_NRESERVLEVEL > 0 - if ((object->flags & OBJ_COLORED) == 0) - { + if ((object->flags & OBJ_COLORED) == 0) { VM_OBJECT_WLOCK(object); - vm_object_color(object, 0); + vm_object_color(object, 0); VM_OBJECT_WUNLOCK(object); } #endif @@ -1085,7 +1084,9 @@ exec_map_first_page(struct image_params *imgp) VM_ALLOC_NORMAL | VM_ALLOC_NOBUSY | VM_ALLOC_WIRED); if (error != VM_PAGER_OK) + { return (EIO); + } imgp->firstpage = sf_buf_alloc(m, 0); imgp->image_header = (char *)sf_buf_kva(imgp->firstpage);