aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-error.c')
-rw-r--r--elf/dl-error.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/dl-error.c b/elf/dl-error.c
index 228c1a80a1..ae63447453 100644
--- a/elf/dl-error.c
+++ b/elf/dl-error.c
@@ -145,7 +145,8 @@ _dl_catch_error (char **errstring,
void *args)
{
int errcode;
- struct catch *old, c;
+ struct catch *volatile old;
+ struct catch c;
/* We need not handle `receiver' since setting a `catch' is handled
before it. */