xlib: separate output between stdout and stderr (from lmod)

This commit is contained in:
Anthony Bentley
2009-11-08 19:28:59 -07:00
parent 46c131bc86
commit be13e051f4

View File

@@ -20,7 +20,7 @@
void fatalerror(char *s)
{
printf("*ERROR* : %s\n", s);
fprintf(stderr,"*ERROR* : %s\n", s);
exit(5);
}