From c9c32156984411006549e5c68a68e1dada0107e6 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 3 Jul 2010 08:14:02 -0700 Subject: [PATCH] Refer to the right lsetxattr() caller in a error message. --- xattrs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xattrs.c b/xattrs.c index 1f3dcb36..773ac0d9 100644 --- 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; -- 2.34.1