Module Name:    src
Committed By:   skrll
Date:           Fri Aug  2 11:45:52 UTC 2024

Modified Files:
        src/libexec/ld.elf_so: map_object.c

Log Message:
KNF


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/libexec/ld.elf_so/map_object.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/ld.elf_so/map_object.c
diff -u src/libexec/ld.elf_so/map_object.c:1.67 src/libexec/ld.elf_so/map_object.c:1.68
--- src/libexec/ld.elf_so/map_object.c:1.67	Sun Jun  4 01:24:56 2023
+++ src/libexec/ld.elf_so/map_object.c	Fri Aug  2 11:45:52 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: map_object.c,v 1.67 2023/06/04 01:24:56 joerg Exp $	 */
+/*	$NetBSD: map_object.c,v 1.68 2024/08/02 11:45:52 skrll Exp $	 */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: map_object.c,v 1.67 2023/06/04 01:24:56 joerg Exp $");
+__RCSID("$NetBSD: map_object.c,v 1.68 2024/08/02 11:45:52 skrll Exp $");
 #endif /* not lint */
 
 #include <errno.h>
@@ -376,7 +376,9 @@ _rtld_map_object(const char *path, int f
 			    - base_vaddr);
 
 			if ((nclear = data_vlimit - clear_vaddr) > 0) {
-				/* Make sure the end of the segment is writable
+				/*
+				 * Make sure the end of the segment is
+				 * writable.
 				 */
 				if ((data_prot & PROT_WRITE) == 0 && -1 ==
 				     mprotect(clear_page, _rtld_pagesz,

Reply via email to