(_dl_catch_error): Clear *ERRSTRING and *OBJNAME when successful.
authorroland <roland>
Wed, 7 Jun 1995 01:43:00 +0000 (01:43 +0000)
committerroland <roland>
Wed, 7 Jun 1995 01:43:00 +0000 (01:43 +0000)
elf/dl-error.c

index b5af2e3..a5c8611 100644 (file)
@@ -46,6 +46,7 @@ _dl_catch_error (const char **errstring,
   if (errcode == 0)
     {
       (*operate) ();
+      *errstring = *objname = NULL;
       return 0;
     }