summaryrefslogtreecommitdiff
path: root/libexec/ld.so/alpha
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-02-16 13:31:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-02-16 13:31:11 +0000
commitd706d93d7e1905b435d896d89f06a97a58e6e08d (patch)
tree512e97af03db4241c593addc2ca35df45b5597b3 /libexec/ld.so/alpha
parenta665d094b9239b4cc32cffd311a547daa59be872 (diff)
correct format strings, ok guenther
Diffstat (limited to 'libexec/ld.so/alpha')
-rw-r--r--libexec/ld.so/alpha/rtld_machine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.so/alpha/rtld_machine.c b/libexec/ld.so/alpha/rtld_machine.c
index 21eb71213d3..7fdcdb8039e 100644
--- a/libexec/ld.so/alpha/rtld_machine.c
+++ b/libexec/ld.so/alpha/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.60 2017/01/24 07:48:37 guenther Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.61 2017/02/16 13:31:10 deraadt Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
@@ -176,9 +176,9 @@ _dl_printf("unaligned RELATIVE: %p type: %d %s 0x%lx -> 0x%lx\n", r_addr,
case R_TYPE(NONE):
break;
default:
- _dl_die("%s: unsupported relocation '%s' %d at %lx",
+ _dl_die("%s: unsupported relocation '%s' %lld at %p",
object->load_name, symn,
- ELF64_R_TYPE(relas->r_info), r_addr );
+ ELF64_R_TYPE(relas->r_info), (void *)r_addr);
}
continue;
resolve_failed: