[llvm-commits] [vmkit] r48943 - /vmkit/trunk/include/debug.h
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Sat Mar 29 04:58:28 PDT 2008
Author: geoffray
Date: Sat Mar 29 06:58:26 2008
New Revision: 48943
URL: http://llvm.org/viewvc/llvm-project?rev=48943&view=rev
Log:
Use printf directly instead of sys_printf
Modified:
vmkit/trunk/include/debug.h
Modified: vmkit/trunk/include/debug.h
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/include/debug.h?rev=48943&r1=48942&r2=48943&view=diff
==============================================================================
--- vmkit/trunk/include/debug.h (original)
+++ vmkit/trunk/include/debug.h Sat Mar 29 06:58:26 2008
@@ -49,16 +49,16 @@
#ifdef WITH_COLOR
#define PRINT_DEBUG(symb, level, color, fmt, args...) \
if (symb > level) { \
- sys_printf("%s%s%s", ESC, color, END); \
- sys_printf(fmt, ##args); \
- sys_printf("%s%s%s", ESC, COLOR_NORMAL, END); \
- sys_fflush(stdout); \
+ printf("%s%s%s", ESC, color, END); \
+ printf(fmt, ##args); \
+ printf("%s%s%s", ESC, COLOR_NORMAL, END); \
+ fflush(stdout); \
}
#else
#define PRINT_DEBUG(symb, level, color, fmt, args...) \
if (symb > level) { \
- sys_printf(fmt, ##args); \
- sys_fflush(stdout); \
+ printf(fmt, ##args); \
+ fflush(stdout); \
}
#endif
More information about the llvm-commits
mailing list