From 406aa4df9beb44eadedd530bd0a4c87e7e61442a Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 24 Mar 2011 19:06:37 +0100 Subject: libdl: no need for _dl_strstr in libdl, use strstr Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- ldso/libdl/libdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldso/libdl') diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c index 214e69986..784a4393a 100644 --- a/ldso/libdl/libdl.c +++ b/ldso/libdl/libdl.c @@ -335,7 +335,7 @@ static void *do_dlopen(const char *libname, int flag) # ifdef __SUPPORT_LD_DEBUG__ _dl_debug = getenv("LD_DEBUG"); if (_dl_debug) { - if (_dl_strstr(_dl_debug, "all")) { + if (strstr(_dl_debug, "all")) { _dl_debug_detail = _dl_debug_move = _dl_debug_symbols = _dl_debug_reloc = _dl_debug_bindings = _dl_debug_nofixups = (void*)1; } else { -- cgit v1.2.3