rtld: initialize default dlerror_seen_val as true
There should be no error after startup. PR: 255698 Reported by: Eugene M. Kim <astralblue@gmail.com> Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
29c6e6e279
commit
529ab5a759
@ -60,7 +60,7 @@ void _rtld_atfork_pre(int *) __exported;
|
||||
void _rtld_atfork_post(int *) __exported;
|
||||
|
||||
static char def_dlerror_msg[512];
|
||||
static int def_dlerror_seen_val;
|
||||
static int def_dlerror_seen_val = 1;
|
||||
|
||||
static char *
|
||||
def_dlerror_loc(void)
|
||||
|
Loading…
Reference in New Issue
Block a user