Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ca7d17e
)
Cast the datum_len value to a long for rprintf().
author
Wayne Davison
<wayned@samba.org>
Thu, 12 Jun 2008 13:59:51 +0000
(06:59 -0700)
committer
Wayne Davison
<wayned@samba.org>
Thu, 12 Jun 2008 13:59:51 +0000
(06:59 -0700)
xattrs.c
patch
|
blob
|
blame
|
history
diff --git
a/xattrs.c
b/xattrs.c
index
b2040f2
..
ee21c8d
100644
(file)
--- a/
xattrs.c
+++ b/
xattrs.c
@@
-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) {
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=%
l
d)!\n",
+ who_am_i(), f_name(file, NULL), rxa->name,
(long)
rxa->datum_len);
exit_cleanup(RERR_STREAMIO);
}
exit_cleanup(RERR_STREAMIO);
}