changeset 22132:d59cdfcb6ed1

(13:48:49) Stu Tomlinson (nosnilmot): rlaager: printf() should probably still use strerror()
author Richard Laager <rlaager@wiktel.com>
date Wed, 16 Jan 2008 22:26:59 +0000
parents d5e8ee52ddcc
children 0d7d0a60d42d
files finch/libgnt/gntmain.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntmain.c	Wed Jan 16 19:12:46 2008 +0000
+++ b/finch/libgnt/gntmain.c	Wed Jan 16 22:26:59 2008 +0000
@@ -233,7 +233,7 @@
 	{
 		int ch = getch(); /* This should return ERR, but let's see what it really returns */
 		endwin();
-		printf("ERROR: %s\n", g_strerror(errno));
+		printf("ERROR: %s\n", strerror(errno));
 		printf("File descriptor is: %d\n\nGIOChannel is: %p\ngetch() = %d\n", STDIN_FILENO, source, ch);
 		raise(SIGABRT);
 	}