Refer to the right lsetxattr() caller in a error message.
[rsync.git] / xattrs.c
index 1f3dcb366f271e9f233244d53693caa0b9f7f43b..773ac0d97742dead129b7433c1fa96b1b018d7a3 100644 (file)
--- a/xattrs.c
+++ b/xattrs.c
@@ -321,7 +321,7 @@ int copy_xattrs(const char *source, const char *dest)
                if (sys_lsetxattr(dest, name, ptr, datum_len) < 0) {
                        int save_errno = errno ? errno : EINVAL;
                        rsyserr(FERROR_XFER, errno,
-                               "rsync_xal_set: lsetxattr(\"%s\",\"%s\") failed",
+                               "copy_xattrs: lsetxattr(\"%s\",\"%s\") failed",
                                dest, name);
                        errno = save_errno;
                        return -1;
@@ -646,7 +646,7 @@ void receive_xattr(struct file_struct *file, int f)
                F_XATTR(file) = ndx - 1;
                return;
        }
-       
+
        if ((count = read_varint(f)) != 0) {
                (void)EXPAND_ITEM_LIST(&temp_xattr, rsync_xa, count);
                temp_xattr.count = 0;