Module Name:    src
Committed By:   martin
Date:           Mon Dec  9 16:12:16 UTC 2019

Modified Files:
        src/libexec/ld.elf_so [netbsd-9]: rtld.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #534):

        libexec/ld.elf_so/rtld.c: revision 1.201

_rtld_relro - fix debug printf format for a size_t argument


To generate a diff of this commit:
cvs rdiff -u -r1.197.2.1 -r1.197.2.2 src/libexec/ld.elf_so/rtld.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/rtld.c
diff -u src/libexec/ld.elf_so/rtld.c:1.197.2.1 src/libexec/ld.elf_so/rtld.c:1.197.2.2
--- src/libexec/ld.elf_so/rtld.c:1.197.2.1	Wed Sep 18 16:09:07 2019
+++ src/libexec/ld.elf_so/rtld.c	Mon Dec  9 16:12:16 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: rtld.c,v 1.197.2.1 2019/09/18 16:09:07 martin Exp $	 */
+/*	$NetBSD: rtld.c,v 1.197.2.2 2019/12/09 16:12:16 martin Exp $	 */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.197.2.1 2019/09/18 16:09:07 martin Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.197.2.2 2019/12/09 16:12:16 martin Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -1776,7 +1776,7 @@ _rtld_relro(const Obj_Entry *obj, bool w
 	if (wantmain != (obj ==_rtld_objmain))
 		return 0;
 
-	dbg(("RELRO %s %p %lx\n", obj->path, obj->relro_page, obj->relro_size));
+	dbg(("RELRO %s %p %zx\n", obj->path, obj->relro_page, obj->relro_size));
 	if (mprotect(obj->relro_page, obj->relro_size, PROT_READ) == -1) {
 		_rtld_error("%s: Cannot enforce relro " "protection: %s",
 		    obj->path, xstrerror(errno));

Reply via email to