2
0
mirror of git://sourceware.org/git/glibc.git synced 2025-04-12 14:21:18 +08:00

(nss_dlerror_run): Call _dl_catch_error correctly.

This commit is contained in:
Ulrich Drepper 1998-03-12 14:32:11 +00:00
parent 722935feec
commit b8b8702519

@ -246,10 +246,9 @@ static int
nss_dlerror_run (void (*operate) (void))
{
char *last_errstring = NULL;
const char *last_object_name = NULL;
int result;
(void) _dl_catch_error (&last_errstring, &last_object_name, operate);
(void) _dl_catch_error (&last_errstring, operate);
result = last_errstring != NULL;
if (result)