aboutsummaryrefslogtreecommitdiff
path: root/strbuf.c
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-02-04 21:21:50 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-05 18:16:19 +0100
commit4feae9674e99027828a41634060c167679e86063 (patch)
treed0ef2de72bc7ab3ba0b23d0129bd26473fd97ea0 /strbuf.c
parentFix most memmory errors. (diff)
downloadcalp-4feae9674e99027828a41634060c167679e86063.tar.gz
calp-4feae9674e99027828a41634060c167679e86063.tar.xz
Improve ERR.
Diffstat (limited to 'strbuf.c')
-rw-r--r--strbuf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/strbuf.c b/strbuf.c
index 874aea4f..81c9e1f5 100644
--- a/strbuf.c
+++ b/strbuf.c
@@ -3,8 +3,7 @@
#include <string.h>
#ifdef SAFE_STR
-#include <stdio.h>
-#define ERR(s) fprintf(stderr, "\x1B[0;31mERR\x1b[m (strbuf %3i): %s\n", __LINE__, s)
+#include "err.h"
#endif
INIT_F(strbuf) {