Skip to content

Commit

Permalink
fixup! Gratuitous style bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdjhb committed Mar 25, 2024
1 parent e035723 commit d402fa7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sys/kern/kern_exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1074,18 +1074,19 @@ 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) {

Check failure on line 1077 in sys/kern/kern_exec.c

View workflow job for this annotation

GitHub Actions / Style Checker

that open brace { should be on the previous line
VM_OBJECT_WLOCK(object);
vm_object_color(object, 0);
vm_object_color(object, 0);
VM_OBJECT_WUNLOCK(object);
}
#endif
error = vm_page_grab_valid_unlocked(&m, object, 0, VM_ALLOC_COUNT(VM_INITIAL_PAGEIN) |
VM_ALLOC_NORMAL | VM_ALLOC_NOBUSY | VM_ALLOC_WIRED);

Check warning on line 1084 in sys/kern/kern_exec.c

View workflow job for this annotation

GitHub Actions / Style Checker

line over 80 characters

if (error != VM_PAGER_OK)

Check failure on line 1086 in sys/kern/kern_exec.c

View workflow job for this annotation

GitHub Actions / Style Checker

that open brace { should be on the previous line
{
return (EIO);
}
imgp->firstpage = sf_buf_alloc(m, 0);
imgp->image_header = (char *)sf_buf_kva(imgp->firstpage);

Expand Down

0 comments on commit d402fa7

Please sign in to comment.