aboutsummaryrefslogtreecommitdiff
path: root/src/tool_xattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_xattr.c')
-rw-r--r--src/tool_xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_xattr.c b/src/tool_xattr.c
index 7cc42e0f1..592d4a120 100644
--- a/src/tool_xattr.c
+++ b/src/tool_xattr.c
@@ -116,7 +116,7 @@ int fwrite_xattr(CURL *curl, int fd)
mappings[i].attr, value, strlen(value));
/* FreeBSD's extattr_set_fd returns the length of the extended
attribute */
- err = (rc < 0 : -1 : 0);
+ err = (rc < 0 ? -1 : 0);
}
#endif
if(freeptr)