--- a/gntmain.c Wed Jan 16 19:12:46 2008 +0000
+++ b/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 */
- 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);