remove source file location info

This commit is contained in:
Max Lv
2013-04-15 19:31:21 +08:00
parent b4e36b970a
commit 9a2fda8005
+1 -1
View File
@@ -16,7 +16,7 @@ while(0)
time_t now = time(NULL);\
char timestr[20];\
strftime(timestr, 20, TIME_FORMAT, localtime(&now));\
fprintf(stderr, "\e[01;35m %s ERROR: \e[0m" format " on File: %s Line: %s\n", timestr, ##__VA_ARGS__, __FILE__, TOSTR(__LINE__));}\
fprintf(stderr, "\e[01;35m %s ERROR: \e[0m" format "\n", timestr, ##__VA_ARGS__);}\
while(0)
void FATAL(const char *msg);