git: 5ec2d94ade51 - main - vm_mmap_object: Update the spelling of true/false
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Jul 2023 05:26:46 UTC
The branch main has been updated by alc: URL: https://cgit.FreeBSD.org/src/commit/?id=5ec2d94ade51b2f2f129cf0c7f695582c7dccb81 commit 5ec2d94ade51b2f2f129cf0c7f695582c7dccb81 Author: Alan Cox <alc@FreeBSD.org> AuthorDate: 2023-07-26 05:58:51 +0000 Commit: Alan Cox <alc@FreeBSD.org> CommitDate: 2023-07-27 05:25:53 +0000 vm_mmap_object: Update the spelling of true/false Since fitit is already a bool, use true/false instead of TRUE/FALSE. MFC after: 2 weeks --- sys/vm/vm_mmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index 408e077476dd..328fef007b1e 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -1577,12 +1577,12 @@ vm_mmap_object(vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot, return (EINVAL); if ((flags & MAP_FIXED) == 0) { - fitit = TRUE; + fitit = true; *addr = round_page(*addr); } else { if (*addr != trunc_page(*addr)) return (EINVAL); - fitit = FALSE; + fitit = false; } if (flags & MAP_ANON) {