summaryrefslogtreecommitdiff
path: root/ldso/util/ldd.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-13 08:23:35 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-13 08:23:35 +0000
commite6e945c0a68c04ea6513b0fcd3867632c43d5840 (patch)
tree80779167e2e788cc3c666746710dedec01210ded /ldso/util/ldd.c
parent042768df2bb06227e4edf47e03985ec0dc907f66 (diff)
Fix an ldd bug, more ldconfig cleanup
Diffstat (limited to 'ldso/util/ldd.c')
-rw-r--r--ldso/util/ldd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldso/util/ldd.c b/ldso/util/ldd.c
index 9be97cce0..a73d34070 100644
--- a/ldso/util/ldd.c
+++ b/ldso/util/ldd.c
@@ -233,6 +233,7 @@ static void search_for_named_library(char *name, char *result, const char *path_
while((path_n=strstr(path_n, "//"))) {
i = strlen(path_n);
memmove(path_n, path_n+1, i-1);
+ *(path_n + i - 1)='\0';
}
/* Replace colons with zeros in path_list and count them */