diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-10-27 03:42:14 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-10-27 03:42:14 +0000 |
commit | 63a0e6b527a063ba0a3bc71f55e16c0f85c64fb6 (patch) | |
tree | 39593f976deb6f3d6ef32f59549375f210b97aa2 /gdb/29k-share | |
parent | 2f537933275764e17e38877cd86ac8de2e0eb4f4 (diff) | |
download | gdb-63a0e6b527a063ba0a3bc71f55e16c0f85c64fb6.zip gdb-63a0e6b527a063ba0a3bc71f55e16c0f85c64fb6.tar.gz gdb-63a0e6b527a063ba0a3bc71f55e16c0f85c64fb6.tar.bz2 |
Replace syserr_list with more portable strerror().
Diffstat (limited to 'gdb/29k-share')
-rw-r--r-- | gdb/29k-share/udi/udip2soc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/29k-share/udi/udip2soc.c b/gdb/29k-share/udi/udip2soc.c index aa25e00..19540f8 100644 --- a/gdb/29k-share/udi/udip2soc.c +++ b/gdb/29k-share/udi/udip2soc.c @@ -53,7 +53,7 @@ static char udip2soc_c_AMD[]="@(#)udip2soc.c 2.8, AMD"; extern int errno; extern int sys_nerr; -extern char* sys_errlist[]; +/*extern char* sys_errlist[];*/ extern int udr_errno; extern char* getenv(); @@ -193,7 +193,7 @@ UDIConnect(Config, Session) if (!fd) { sprintf(dfe_errmsg, "UDIConnect, can't open udi_soc file:\n%s ", - sys_errlist[errno]); + strerror(errno)); dfe_errno = UDIErrorCantOpenConfigFile; goto tip_failure; } |