diff options
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/dl-elf.c | 4 | ||||
-rw-r--r-- | ldso/ldso/readelflib1.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c index 4324aed01..840a630af 100644 --- a/ldso/ldso/dl-elf.c +++ b/ldso/ldso/dl-elf.c @@ -171,8 +171,8 @@ struct elf_resolve *_dl_check_if_named_library_is_loaded(const char *full_libnam const char *pnt, *pnt1; struct elf_resolve *tpnt1; const char *libname, *libname2; - 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"; pnt = libname = full_libname; diff --git a/ldso/ldso/readelflib1.c b/ldso/ldso/readelflib1.c index 4324aed01..840a630af 100644 --- a/ldso/ldso/readelflib1.c +++ b/ldso/ldso/readelflib1.c @@ -171,8 +171,8 @@ struct elf_resolve *_dl_check_if_named_library_is_loaded(const char *full_libnam const char *pnt, *pnt1; struct elf_resolve *tpnt1; const char *libname, *libname2; - 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"; pnt = libname = full_libname; |