summaryrefslogtreecommitdiff
path: root/vchat-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'vchat-client.c')
-rwxr-xr-xvchat-client.c2
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");