Skip to content

Commit 5c08623

Browse files
committed
compile error
1 parent d437de9 commit 5c08623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uinet/freebsd/kern/link_elf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ link_elf_init(void* arg)
395395

396396
linker_add_class(&link_elf_class);
397397

398-
dp = (Elf_Dyn *)&_DYNAMIC;
398+
dp = NULL;
399399
modname = NULL;
400400
modptr = preload_search_by_type("elf" __XSTRING(__ELF_WORD_SIZE) " kernel");
401401
if (modptr == NULL)

0 commit comments

Comments
 (0)