aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_file.y
diff options
context:
space:
mode:
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));