From 9a2fda8005c3802dd68c81e2828ef7f7bbdfd279 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Mon, 15 Apr 2013 19:31:21 +0800 Subject: [PATCH] remove source file location info --- src/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.h b/src/utils.h index 9987054f..c5af5247 100644 --- a/src/utils.h +++ b/src/utils.h @@ -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);