Skip to content

Commit 81c5c81

Browse files
committed
Mention the filename when unpack_smb_acl() returns an error.
1 parent a6a0d2f commit 81c5c81

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

NEWS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### BUG FIXES:
66

7-
- ...
7+
- When rsync gets and unpack error on an ACL, mention the filename.
88

99
### ENHANCEMENTS:
1010

acls.c

+1
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ static int get_rsync_acl(const char *fname, rsync_acl *racl,
519519

520520
sys_acl_free_acl(sacl);
521521
if (!ok) {
522+
rsyserr(FERROR_XFER, errno, "get_acl: unpack_smb_acl(%s)", fname);
522523
return -1;
523524
}
524525
} else if (no_acl_syscall_error(errno)) {

0 commit comments

Comments
 (0)