summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-10 11:09:11 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-10 11:09:11 +0100
commit0ef6093e3df84027e6da5740985951c47fad6eca (patch)
tree307c0535413a03353b8140f4a55e7a698ff2432e
parent9058d42536b818e0f30aa93751ae0beff0f4d202 (diff)
parentff67ef2f6aadd65978bc4f03f5fd522c91a07684 (diff)
Merge remote-tracking branch 'origin/tarfs/master' into tarfs
-rw-r--r--ChangeLog5
-rw-r--r--debug.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cb70761c4..ad5aba26d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-30 Pino Toscano <toscano.pino@tiscali.it>
+
+ * debug.c (debug_set_file): Add format string in invocation of
+ error.
+
2013-07-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
* tarfs.c (tarfs_parse_opts): Rename sate parameter into state.
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);
}
}