Skip to content

Commit

Permalink
Checking in riceman+bmo@mail.rit.edu's patch for bug 133702
Browse files Browse the repository at this point in the history
  • Loading branch information
bishakhabanerjee%netscape.com committed Jul 30, 2002
1 parent 25edb2b commit 9a75272
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions security/coreconf/nsinstall/pathsub.c
Expand Up @@ -69,15 +69,16 @@ fail(char *format, ...)
va_start(ap, format);
vfprintf(stderr, format, ap);
va_end(ap);
if (error)
if (error) {

#ifdef USE_REENTRANT_LIBC
R_STRERROR_R(errno);
fprintf(stderr, ": %s", r_strerror_r);
#else
fprintf(stderr, ": %s", strerror(errno));
#endif

}

putc('\n', stderr);
abort();
exit(1);
Expand Down

0 comments on commit 9a75272

Please sign in to comment.