diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-26 17:02:39 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-27 08:45:11 +0100 |
commit | a705f28bb31a6428421b35741115144f073a3826 (patch) | |
tree | 6ee91eb54384a8ac321a4849e9828a2aef166778 /src/tool_operate.c | |
parent | f42ee77adb9bd90bac37846b8b1b429dc962932a (diff) | |
download | curl-a705f28bb31a6428421b35741115144f073a3826.tar.gz |
curl: include the file name in --xattr/--remote-time error msgs
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r-- | src/tool_operate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index 457633a06..ae8a4f2ed 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -374,8 +374,8 @@ static CURLcode post_per_transfer(struct GlobalConfig *global, if(!result && config->xattr && outs->fopened && outs->stream) { int rc = fwrite_xattr(curl, fileno(outs->stream)); if(rc) - warnf(config->global, "Error setting extended attributes: %s\n", - strerror(errno)); + warnf(config->global, "Error setting extended attributes on '%s': %s\n", + outs->filename, strerror(errno)); } if(!result && !outs->stream && !outs->bytes) { |