diff options
-rwxr-xr-x | vchat-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vchat-client.c b/vchat-client.c index 28552f3..579326a 100755 --- a/vchat-client.c +++ b/vchat-client.c | |||
@@ -430,7 +430,7 @@ eventloop (void) | |||
430 | /* EINTR is most likely a SIGWINCH - ignore for now */ | 430 | /* EINTR is most likely a SIGWINCH - ignore for now */ |
431 | if (errno != EINTR) | 431 | if (errno != EINTR) |
432 | { | 432 | { |
433 | snprintf (tmpstr, TMPSTRSIZE, "Select fails, %s.", sys_errlist[errno]); | 433 | snprintf (tmpstr, TMPSTRSIZE, "Select fails, %s.", strerror(errno)); |
434 | strncpy(errstr,tmpstr,TMPSTRSIZE-2); | 434 | strncpy(errstr,tmpstr,TMPSTRSIZE-2); |
435 | errstr[TMPSTRSIZE-2] = '\0'; | 435 | errstr[TMPSTRSIZE-2] = '\0'; |
436 | strcat(errstr,"\n"); | 436 | strcat(errstr,"\n"); |