aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_file.y
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-02 16:43:01 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-02 16:43:01 +0300
commit3d6020ef1ed601e1f2db2a90f7b64d1a634db171 (patch)
treeaeb199db662a4a0ceece072dab997b037181704e /src/cfg_file.y
parent03490c09f41a52e59d5375c6b83872b725c96943 (diff)
downloadrspamd-3d6020ef1ed601e1f2db2a90f7b64d1a634db171.tar.gz
rspamd-3d6020ef1ed601e1f2db2a90f7b64d1a634db171.zip
* Remove %m from logging it seems to be unsupported by FreeBSD printf version
Diffstat (limited to 'src/cfg_file.y')
-rw-r--r--src/cfg_file.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg_file.y b/src/cfg_file.y
index 6667d01a1..7eee8516c 100644
--- a/src/cfg_file.y
+++ b/src/cfg_file.y
@@ -386,7 +386,7 @@ requirecmd:
struct stat st;
struct perl_module *cur;
if (stat ($3, &st) == -1) {
- yyerror ("yyparse: cannot stat file %s, %m", $3);
+ yyerror ("yyparse: cannot stat file %s, %s", $3, strerror (errno));
YYERROR;
}
cur = memory_pool_alloc (cfg->cfg_pool, sizeof (struct perl_module));