diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-02 16:43:01 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-02 16:43:01 +0300 |
commit | 3d6020ef1ed601e1f2db2a90f7b64d1a634db171 (patch) | |
tree | aeb199db662a4a0ceece072dab997b037181704e /src/cfg_file.y | |
parent | 03490c09f41a52e59d5375c6b83872b725c96943 (diff) | |
download | rspamd-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.y | 2 |
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)); |