mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-21 05:14:15 -04:00
Cast the datum_len value to a long for rprintf().
This commit is contained in:
1 parent
ca7d17e41d
commit
e424e26128
1 file changed
+2
-2
@@ -591,8 +591,8 @@ int recv_xattr_request(struct file_struct *file, int f_in)
|
||||
exit_cleanup(RERR_STREAMIO);
|
||||
}
|
||||
if (!XATTR_ABBREV(*rxa) || rxa->datum[0] != XSTATE_ABBREV) {
|
||||
rprintf(FERROR, "[%s] internal abbrev error on %s (%s, len=%d)!\n",
|
||||
who_am_i(), f_name(file, NULL), rxa->name, rxa->datum_len);
|
||||
rprintf(FERROR, "[%s] internal abbrev error on %s (%s, len=%ld)!\n",
|
||||
who_am_i(), f_name(file, NULL), rxa->name, (long)rxa->datum_len);
|
||||
exit_cleanup(RERR_STREAMIO);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user