aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2010-07-03 08:14:02 -0700
committerWayne Davison <wayned@samba.org>2010-07-03 08:47:02 -0700
commitc9c32156984411006549e5c68a68e1dada0107e6 (patch)
tree8388abc444ec721b3197efbdc58a074652f54708
parentdbfde9e50aa8dfab3fc919323e874a02e910701b (diff)
downloadandroid_external_rsync-c9c32156984411006549e5c68a68e1dada0107e6.tar.gz
android_external_rsync-c9c32156984411006549e5c68a68e1dada0107e6.tar.bz2
android_external_rsync-c9c32156984411006549e5c68a68e1dada0107e6.zip
Refer to the right lsetxattr() caller in a error message.
-rw-r--r--xattrs.c4
1 files 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;