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 (from parent 1:
b59dc8d
)
Cast file->mode to an int when printing it via %o.
author
Wayne Davison
<wayned@samba.org>
Fri, 5 May 2006 05:40:17 +0000
(
05:40
+0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 5 May 2006 05:40:17 +0000
(
05:40
+0000)
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
5d1077e
..
d8863d7
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-740,7
+740,7
@@
static int try_dests_non(struct file_struct *file, char *fname, int ndx,
} else {
rprintf(FERROR,
"internal: try_dests_non() called with invalid mode (%o)\n",
} else {
rprintf(FERROR,
"internal: try_dests_non() called with invalid mode (%o)\n",
- file->mode);
+
(int)
file->mode);
exit_cleanup(RERR_UNSUPPORTED);
}
if (link_dest
exit_cleanup(RERR_UNSUPPORTED);
}
if (link_dest