diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-01-23 12:30:34 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-01-23 12:30:34 +0000 |
commit | 5f808dfbd71b0e40d0fd2976dceb2feaf024b6ca (patch) | |
tree | d63a765e5f3d62ee201f7c57aa0653e8379f3c44 /flist.c | |
parent | 0b73ca12fa018b3f6e45cc54912423930b3d6758 (diff) | |
download | rsync-5f808dfbd71b0e40d0fd2976dceb2feaf024b6ca.tar.gz |
fix a problem with files > 2GB
(thanks to T.J.Adye@rl.ac.uk)
Diffstat (limited to 'flist.c')
-rw-r--r-- | flist.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -999,12 +999,12 @@ static void clean_flist(struct file_list *flist, int strip_root) if (verbose <= 3) return; for (i=0;i<flist->count;i++) { - rprintf(FINFO,"[%d] i=%d %s %s mode=0%o len=%d\n", + rprintf(FINFO,"[%d] i=%d %s %s mode=0%o len=%.0f\n", getpid(), i, NS(flist->files[i]->dirname), NS(flist->files[i]->basename), flist->files[i]->mode, - (int)flist->files[i]->length); + (double)flist->files[i]->length); } } |