summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorToby Goodwin <toby@paccrat.org>2014-09-02 08:01:39 +0100
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:22:10 +0100
commita8699a58d8632f21e897ea5c4900a15483a9a8ca (patch)
treefd8e7910807eb91bcd79d498582959f1d750f9c6 /utils.c
parentd884971193ef4934424b77ae862e8b0ecf70bab3 (diff)
release: rc-1.7.2
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils.c b/utils.c
index 14a55ff..482f7a7 100644
--- a/utils.c
+++ b/utils.c
@@ -12,9 +12,9 @@
extern void pr_error(char *s, int offset) {
if (s != NULL) {
if (interactive)
- fprint(2, "%s\n", s);
+ fprint(2, RC "%s\n", s);
else
- fprint(2, "line %d: %s\n", lineno + offset, s);
+ fprint(2, RC "line %d: %s\n", lineno + offset, s);
}
}
@@ -27,9 +27,9 @@ extern void uerror(char *s) {
if (!err) err = "unknown error";
if (s)
- fprint(2, "%s: %s\n", s, err);
+ fprint(2, RC "%s: %s\n", s, err);
else
- fprint(2, "%s\n", err);
+ fprint(2, RC "%s\n", err);
}
/* Die horribly. This should never get called. Please let me know if it does. */