diff options
| author | Toby Goodwin <toby@paccrat.org> | 2014-09-02 08:01:39 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:22:10 +0100 |
| commit | a8699a58d8632f21e897ea5c4900a15483a9a8ca (patch) | |
| tree | fd8e7910807eb91bcd79d498582959f1d750f9c6 /utils.c | |
| parent | d884971193ef4934424b77ae862e8b0ecf70bab3 (diff) | |
release: rc-1.7.2
Diffstat (limited to 'utils.c')
| -rw-r--r-- | utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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. */ |