rtld(1): Fix a typo in inactive code.
authorSascha Wildner <saw@online.de>
Mon, 3 Mar 2014 18:06:50 +0000 (19:06 +0100)
committerSascha Wildner <saw@online.de>
Mon, 3 Mar 2014 18:06:50 +0000 (19:06 +0100)
Confirmed-by: kib@freebsd via marino
libexec/rtld-elf/rtld.c

index 0933899..772e028 100644 (file)
@@ -467,7 +467,7 @@ _rtld(Elf_Addr *sp, func_ptr_type *exit_proc, Obj_Entry **objp)
        if (obj_main == NULL)
            die();
 #if 0
-       max_stack_flags = obj->stack_flags;
+       max_stack_flags = obj_main->stack_flags;
 #endif
     } else {                           /* Main program already loaded. */
        const Elf_Phdr *phdr;