projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
969ddbc
)
fix breakage in ldd (failure to print library load address)
author
Rich Felker
<dalias@aerifal.cx>
Sun, 16 Dec 2012 04:34:08 +0000
(23:34 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 16 Dec 2012 04:34:08 +0000
(23:34 -0500)
src/ldso/dynlink.c
patch
|
blob
|
history
diff --git
a/src/ldso/dynlink.c
b/src/ldso/dynlink.c
index d564b8f2aa207d8b8744c48b32301e211db5a515..935367e330d65ebe8756218ac3225c8ab36af130 100644
(file)
--- a/
src/ldso/dynlink.c
+++ b/
src/ldso/dynlink.c
@@
-433,7
+433,7
@@
static struct dso *load_library(const char *name)
{
char buf[2*NAME_MAX+2];
const char *pathname;
- unsigned char *
base, *
map;
+ unsigned char *map;
size_t map_len;
struct dso *p, temp_dso = {0};
int fd;
@@
-566,7
+566,7
@@
static struct dso *load_library(const char *name)
p->prev = tail;
tail = p;
- if (ldd_mode) dprintf(1, "\t%s => %s (%p)\n", name, pathname, base);
+ if (ldd_mode) dprintf(1, "\t%s => %s (%p)\n", name, pathname,
p->
base);
return p;
}