diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-14 19:22:44 +0000 | 
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-14 19:22:44 +0000 | 
| commit | 9138bf01b3b21ce23cfdf15fce3f30bb9a1fbc61 (patch) | |
| tree | fb0ac2208e1a080dfae3f2ca5f1f90f568bf4165 /libc/inet/rpc/clnt_perror.c | |
| parent | 6e3c1938ff129fb5385a963ec600111aa6228bdc (diff) | |
| download | uClibc-alpine-9138bf01b3b21ce23cfdf15fce3f30bb9a1fbc61.tar.bz2 uClibc-alpine-9138bf01b3b21ce23cfdf15fce3f30bb9a1fbc61.tar.xz  | |
Merge from trunk.
Diffstat (limited to 'libc/inet/rpc/clnt_perror.c')
| -rw-r--r-- | libc/inet/rpc/clnt_perror.c | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/inet/rpc/clnt_perror.c b/libc/inet/rpc/clnt_perror.c index 611ca998c..eba539c95 100644 --- a/libc/inet/rpc/clnt_perror.c +++ b/libc/inet/rpc/clnt_perror.c @@ -37,6 +37,9 @@ static char sccsid[] = "@(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro";   * Copyright (C) 1984, Sun Microsystems, Inc.   *   */ + +#define fputs __fputs +  #define __FORCE_GLIBC  #include <features.h> @@ -245,7 +248,7 @@ __clnt_sperror (CLIENT * rpch, const char *msg)      case RPC_CANTSEND:      case RPC_CANTRECV: -      strerror_r (e.re_errno, chrbuf, sizeof chrbuf); +      __glibc_strerror_r_internal (e.re_errno, chrbuf, sizeof chrbuf);        len = __sprintf (str, "; errno = %s", chrbuf);         str += len;        break; @@ -335,7 +338,7 @@ __clnt_spcreateerror (const char *msg)        (void) __strcpy(cp, " - ");        cp += __strlen(cp); -      strerror_r (ce->cf_error.re_errno, chrbuf, sizeof chrbuf); +      __glibc_strerror_r_internal (ce->cf_error.re_errno, chrbuf, sizeof chrbuf);        (void) __strcpy(cp, chrbuf);        cp += __strlen(cp);        break;  | 
