Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cast file->mode to an int when printing it via %o.
[rsync/rsync.git]
/
generator.c
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",
- file->mode);
+
(int)
file->mode);
exit_cleanup(RERR_UNSUPPORTED);
}
if (link_dest