From d27adde65b922f917a257a6e6e88a393e73ff128 Mon Sep 17 00:00:00 2001
From: erdgeist <>
Date: Wed, 1 Oct 2008 19:01:32 +0000
Subject: avoid deprecated error strings, part 2

---
 vchat-client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
       /* EINTR is most likely a SIGWINCH - ignore for now */
       if (errno != EINTR)
 	{
-	  snprintf (tmpstr, TMPSTRSIZE, "Select fails, %s.", sys_errlist[errno]);
+	  snprintf (tmpstr, TMPSTRSIZE, "Select fails, %s.", strerror(errno));
           strncpy(errstr,tmpstr,TMPSTRSIZE-2);
           errstr[TMPSTRSIZE-2] = '\0';
           strcat(errstr,"\n");
-- 
cgit v1.2.3