summaryrefslogtreecommitdiff
path: root/src/date.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/date.c')
-rw-r--r--src/date.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/date.c b/src/date.c
index 50e71d74a..5c3e5da7d 100644
--- a/src/date.c
+++ b/src/date.c
@@ -290,7 +290,7 @@ batch_convert (const char *input_filename, const char *format, timezone_t tz)
in_stream = fopen (input_filename, "r");
if (in_stream == NULL)
{
- error (EXIT_FAILURE, errno, "%s", quote (input_filename));
+ error (EXIT_FAILURE, errno, "%s", quotef (input_filename));
}
}
@@ -320,7 +320,7 @@ batch_convert (const char *input_filename, const char *format, timezone_t tz)
}
if (fclose (in_stream) == EOF)
- error (EXIT_FAILURE, errno, "%s", quote (input_filename));
+ error (EXIT_FAILURE, errno, "%s", quotef (input_filename));
free (line);
@@ -520,7 +520,7 @@ main (int argc, char **argv)
if (reference != NULL)
{
if (stat (reference, &refstats) != 0)
- error (EXIT_FAILURE, errno, "%s", quote (reference));
+ error (EXIT_FAILURE, errno, "%s", quotef (reference));
when = get_stat_mtime (&refstats);
}
else