diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-11-18 04:19:31 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-11-18 04:19:31 +0000 |
commit | 206e3a8a5c7bf940cacc468a9b6d2269ea8e6aae (patch) | |
tree | 68afdbacc5382c2c82a5f98c0b6d16109951ae33 /gdb/29k-share | |
parent | 119d6454bb9d085476bc0580a32d5657c6339c76 (diff) | |
download | gdb-206e3a8a5c7bf940cacc468a9b6d2269ea8e6aae.zip gdb-206e3a8a5c7bf940cacc468a9b6d2269ea8e6aae.tar.gz gdb-206e3a8a5c7bf940cacc468a9b6d2269ea8e6aae.tar.bz2 |
Replace sys_errlist with strerror().
Diffstat (limited to 'gdb/29k-share')
-rw-r--r-- | gdb/29k-share/udi/udip2soc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/29k-share/udi/udip2soc.c b/gdb/29k-share/udi/udip2soc.c index 19540f8..969e850 100644 --- a/gdb/29k-share/udi/udip2soc.c +++ b/gdb/29k-share/udi/udip2soc.c @@ -53,7 +53,6 @@ static char udip2soc_c_AMD[]="@(#)udip2soc.c 2.8, AMD"; extern int errno; extern int sys_nerr; -/*extern char* sys_errlist[];*/ extern int udr_errno; extern char* getenv(); @@ -265,7 +264,7 @@ UDIConnect(Config, Session) if (soc_con[cnt].dfe_sd == -1) { sprintf(dfe_errmsg, "DFE-ipc ERROR, socket() call failed %s ", - sys_errlist[errno]); + strerror (errno)); dfe_errno = UDIErrorUnknownError; goto tip_failure; } @@ -350,7 +349,7 @@ UDIConnect(Config, Session) if (pos == 0) { sprintf(dfe_errmsg, "DFE-ipc ERROR, connect() call failed: %s", - sys_errlist[errno]); + strerror (errno)); dfe_errno = UDIErrorCantConnect; goto tip_failure; } @@ -387,7 +386,7 @@ UDIConnect(Config, Session) sizeof(soc_con[cnt].tip_sockaddr_in))) { sprintf(dfe_errmsg, "DFE-ipc ERROR, connect() call failed %s ", - sys_errlist[errno]); + strerror (errno)); dfe_errno = UDIErrorCantConnect; goto tip_failure; } |