aboutsummaryrefslogtreecommitdiff
path: root/nptl_db/td_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl_db/td_init.c')
-rw-r--r--nptl_db/td_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl_db/td_init.c b/nptl_db/td_init.c
index f47b68d..c41b493 100644
--- a/nptl_db/td_init.c
+++ b/nptl_db/td_init.c
@@ -1,5 +1,5 @@
/* Initialization function of thread debugger support library.
- Copyright (C) 1999-2024 Free Software Foundation, Inc.
+ Copyright (C) 1999-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -32,7 +32,7 @@ td_init (void)
bool
__td_ta_rtld_global (td_thragent_t *ta)
{
- if (ta->ta_addr__rtld_global == 0)
+ if (ta->ta_addr__rtld_global == NULL)
{
psaddr_t rtldglobalp;
if (DB_GET_VALUE (rtldglobalp, ta, __nptl_rtld_global, 0) == TD_OK)