summaryrefslogtreecommitdiff
path: root/src/tool_filetime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_filetime.c')
-rw-r--r--src/tool_filetime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_filetime.c b/src/tool_filetime.c
index 72798dbdb..e31fd5914 100644
--- a/src/tool_filetime.c
+++ b/src/tool_filetime.c
@@ -140,7 +140,7 @@ void setfiletime(curl_off_t filetime, const char *filename,
times[0].tv_usec = times[1].tv_usec = 0;
if(utimes(filename, times)) {
warnf(global, "Failed to set filetime %" CURL_FORMAT_CURL_OFF_T
- " on outfile: %s\n", filetime, strerror(errno));
+ " on '%s': %s\n", filetime, filename, strerror(errno));
}
#elif defined(HAVE_UTIME)
@@ -149,7 +149,7 @@ void setfiletime(curl_off_t filetime, const char *filename,
times.modtime = (time_t)filetime;
if(utime(filename, &times)) {
warnf(global, "Failed to set filetime %" CURL_FORMAT_CURL_OFF_T
- " on outfile: %s\n", filetime, strerror(errno));
+ " on '%s': %s\n", filetime, filename, strerror(errno));
}
#endif
}