ref: be13e051f43fdb2797f91150455fdd9422b06e72
parent: 46c131bc8651dedc981c9297ebea5e32bdbedeb7
author: Anthony Bentley <[email protected]>
date: Sun Nov 8 14:28:59 EST 2009
xlib: separate output between stdout and stderr (from lmod)
--- a/src/lib/main.c
+++ b/src/lib/main.c
@@ -20,7 +20,7 @@
void fatalerror(char *s)
{
- printf("*ERROR* : %s\n", s);
+ fprintf(stderr,"*ERROR* : %s\n", s);
exit(5);
}