summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index 2f61fbc63..6b62432ef 100644
--- a/debug.c
+++ b/debug.c
@@ -43,7 +43,7 @@ debug_set_file (const char *name)
{
debug_file = fopen (name, "w+");
if (!debug_file)
- error (0, errno, name);
+ error (0, errno, "%s", name);
}
}