summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/dl-elf.c4
-rw-r--r--ldso/ldso/readelflib1.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c
index 2dad09d6d..1e7313311 100644
--- a/ldso/ldso/dl-elf.c
+++ b/ldso/ldso/dl-elf.c
@@ -223,8 +223,8 @@ struct elf_resolve *_dl_load_shared_library(int secure, struct dyn_elf **rpnt,
const char *pnt, *pnt1;
struct elf_resolve *tpnt1;
const char *libname;
- static const char libc[] = "libc.so.";
- static const char aborted_wrong_lib[] = "%s: aborted attempt to load %s!\n";
+ static const char *libc = "libc.so.";
+ static const char *aborted_wrong_lib = "%s: aborted attempt to load %s!\n";
_dl_internal_error_number = 0;
libname = full_libname;
diff --git a/ldso/ldso/readelflib1.c b/ldso/ldso/readelflib1.c
index 2dad09d6d..1e7313311 100644
--- a/ldso/ldso/readelflib1.c
+++ b/ldso/ldso/readelflib1.c
@@ -223,8 +223,8 @@ struct elf_resolve *_dl_load_shared_library(int secure, struct dyn_elf **rpnt,
const char *pnt, *pnt1;
struct elf_resolve *tpnt1;
const char *libname;
- static const char libc[] = "libc.so.";
- static const char aborted_wrong_lib[] = "%s: aborted attempt to load %s!\n";
+ static const char *libc = "libc.so.";
+ static const char *aborted_wrong_lib = "%s: aborted attempt to load %s!\n";
_dl_internal_error_number = 0;
libname = full_libname;