diff options
author | 2017-01-29 16:29:52 +0000 | |
---|---|---|
committer | 2017-01-29 16:29:52 +0000 | |
commit | 4a89753ef0631dc502e05233cee807ace1e76d9f (patch) | |
tree | bc2607840be2e868325bd8dd0c28b34e504d52f6 | |
parent | Put comment back in the right place. (diff) | |
download | wireguard-openbsd-4a89753ef0631dc502e05233cee807ace1e76d9f.tar.xz wireguard-openbsd-4a89753ef0631dc502e05233cee807ace1e76d9f.zip |
Previous commit broke build on loongson. Refix by adding
an explicit type cast.
Reported and tested by matthieu@
-rw-r--r-- | libexec/ld.so/mips64/rtld_machine.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.so/mips64/rtld_machine.c b/libexec/ld.so/mips64/rtld_machine.c index f3e5a638e29..8d27d791efc 100644 --- a/libexec/ld.so/mips64/rtld_machine.c +++ b/libexec/ld.so/mips64/rtld_machine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtld_machine.c,v 1.25 2017/01/25 15:22:57 visa Exp $ */ +/* $OpenBSD: rtld_machine.c,v 1.26 2017/01/29 16:29:52 visa Exp $ */ /* * Copyright (c) 1998-2004 Opsycon AB, Sweden. @@ -141,8 +141,8 @@ _dl_md_reloc(elf_object_t *object, int rel, int relsz) break; default: - _dl_die("unsupported relocation '%lld'", - ELF64_R_TYPE(relocs->r_info)); + _dl_die("unsupported relocation '%u'", + (unsigned int)ELF64_R_TYPE(relocs->r_info)); } } DL_DEB(("done %d fails\n", fails)); |