Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so _rtld_relro - fix debug printf format for ...
details: https://anonhg.NetBSD.org/src/rev/7526b8413c8d
branches: trunk
changeset: 967434:7526b8413c8d
user: uwe <uwe%NetBSD.org@localhost>
date: Sun Dec 08 22:35:27 2019 +0000
description:
_rtld_relro - fix debug printf format for a size_t argument
diffstat:
libexec/ld.elf_so/rtld.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d63af3867cae -r 7526b8413c8d libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c Sun Dec 08 21:46:03 2019 +0000
+++ b/libexec/ld.elf_so/rtld.c Sun Dec 08 22:35:27 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtld.c,v 1.200 2019/10/04 01:57:53 christos Exp $ */
+/* $NetBSD: rtld.c,v 1.201 2019/12/08 22:35:27 uwe Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.200 2019/10/04 01:57:53 christos Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.201 2019/12/08 22:35:27 uwe Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -1776,7 +1776,7 @@
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));
Home |
Main Index |
Thread Index |
Old Index