From: Wayne Davison Date: Sat, 3 Jul 2010 15:14:02 +0000 (-0700) Subject: Refer to the right lsetxattr() caller in a error message. X-Git-Tag: v3.0.8pre1~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9c32156984411006549e5c68a68e1dada0107e6;p=thirdparty%2Frsync.git Refer to the right lsetxattr() caller in a error message. --- 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;