OSDN Git Service

ldso: Fix compile-error on noMMU
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 4 Sep 2014 11:21:23 +0000 (13:21 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 4 Sep 2014 11:24:34 +0000 (13:24 +0200)
Thanks to Waldemar Brodkorb for noticing!

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
ldso/ldso/dl-elf.c

index 1b06bc1..54501d1 100644 (file)
@@ -728,7 +728,7 @@ struct elf_resolve *_dl_load_elf_shared_library(unsigned rflags,
                                void *new_addr;
                                new_addr = map_writeable (infile, ppnt, piclib, flags, libaddr);
                                if (!new_addr) {
-                                       _dl_dprintf(_dl_debug_file, "Can't modify %s's text section.",
+                                       _dl_dprintf(2, "Can't modify %s's text section.",
                                                    libname);
                                        _dl_exit(1);
                                }