aboutsummaryrefslogtreecommitdiffstats
path: root/src/err.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/err.h')
-rw-r--r--src/err.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/err.h b/src/err.h
index 5a3b9bc..256c5a9 100644
--- a/src/err.h
+++ b/src/err.h
@@ -6,14 +6,14 @@
#define ERR(...) \
do { \
- fprintf(stderr, "\e[1;31merror:\e[0m " __VA_ARGS__); \
+ fprintf(stderr, "\x1B[1;31merror:\x1B[0m " __VA_ARGS__); \
fprintf(stderr, "\n"); \
exit(EXIT_FAILURE); \
} while (0)
#define WARN(...) \
do { \
- fprintf(stderr, "\e[1;35mwarning:\e[0m " __VA_ARGS__); \
+ fprintf(stderr, "\x1B[1;35mwarning:\x1B[0m " __VA_ARGS__); \
fprintf(stderr, "\n"); \
} while (0)