diff options
| author | Wayne Davison <wayned@samba.org> | 2010-07-03 08:14:02 -0700 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2010-07-03 08:47:02 -0700 |
| commit | c9c32156984411006549e5c68a68e1dada0107e6 (patch) | |
| tree | 8388abc444ec721b3197efbdc58a074652f54708 | |
| parent | dbfde9e50aa8dfab3fc919323e874a02e910701b (diff) | |
| download | android_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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |
