diff options
Diffstat (limited to 'src/builtin.c')
-rw-r--r-- | src/builtin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/builtin.c b/src/builtin.c index 72b73cd..b812236 100644 --- a/src/builtin.c +++ b/src/builtin.c @@ -80,7 +80,7 @@ cmp_regex(const char *pat, const char *str, int flags) char errbuf[512]; regerror(rc, ®ex, errbuf, sizeof(errbuf)); - logmsg(LOG_ERR, _("%s: cannot compile regexp: %s"), pat, + wy_log(LOG_ERR, _("%s: cannot compile regexp: %s"), pat, errbuf); return 0; } @@ -119,7 +119,7 @@ parse_cmp_type(const char *pat, strcmp_fn * cmpfn, int *rf) break; default: - logmsg(LOG_NOTICE, + wy_log(LOG_NOTICE, _("unrecognized comparison flag: %c"), *pat); } |