diff options
Diffstat (limited to 'src/log.h')
| -rw-r--r-- | src/log.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -7,17 +7,17 @@ dbgl(format "\n", ## __VA_ARGS__) #define dbgl(format, ...) do{\ - printf(format, ## __VA_ARGS__); \ + fprintf(stderr, format, ## __VA_ARGS__); \ fflush(stderr); \ } while(0) #define err(format, ...) do{\ - printf(format "\n", ## __VA_ARGS__); \ + fprintf(stderr, format "\n", ## __VA_ARGS__); \ fflush(stderr); \ } while(0) #define fatal(format, ...) do{\ - printf(format "\n", ## __VA_ARGS__); \ + fprintf(stderr, format "\n", ## __VA_ARGS__); \ fflush(stderr); \ abort(); \ } while(0) |
