summaryrefslogtreecommitdiff
path: root/libexec/ld.elf_so/rtld.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1999-03-03 21:18:00 +0000
committerchristos <christos@NetBSD.org>1999-03-03 21:18:00 +0000
commitec2edc19fde3370a188773de76dd9ab67c81e501 (patch)
treef0b3de0b7faacffd441afe3e435f37cbef0d44ab /libexec/ld.elf_so/rtld.c
parent6b8842ab8e8bb01efa311039e5912ddaffd46223 (diff)
Make this compile without -DRTLD_LOADER and fix printf format problems on
the alpha.
Diffstat (limited to 'libexec/ld.elf_so/rtld.c')
-rw-r--r--libexec/ld.elf_so/rtld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.elf_so/rtld.c b/libexec/ld.elf_so/rtld.c
index 78d0723d026..0209f36ee9c 100644
--- a/libexec/ld.elf_so/rtld.c
+++ b/libexec/ld.elf_so/rtld.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rtld.c,v 1.15 1999/03/01 16:40:07 christos Exp $ */
+/* $NetBSD: rtld.c,v 1.16 1999/03/03 21:18:00 christos Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -263,7 +263,7 @@ _rtld(sp)
/* Find the auxiliary vector on the stack. */
/* first Elf_Word reserved to address of exit routine */
#if defined(RTLD_DEBUG) && !defined(RTLD_RELOCATE_SELF)
- dbg(("sp = %p, argc = %d, argv = %p <%s>\n", sp, sp[2],
+ dbg(("sp = %p, argc = %ld, argv = %p <%s>\n", sp, (long)sp[2],
&sp[3], (char *) sp[3]));
dbg(("got is at %p, dynamic is at %p\n",
_GLOBAL_OFFSET_TABLE_, &_DYNAMIC));