aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-07-17 07:37:31 -0700
committerWayne Davison <wayned@samba.org>2008-07-17 07:37:31 -0700
commit6d56efa6ea66afa2e6f4eb79d9dd5f3b54b723c3 (patch)
tree42baf860a22de3fe37b6536842189262ea9bd051 /io.c
parent97dde6b6200aa0a3333e4f821e24dd5f0f91ec75 (diff)
downloadandroid_external_rsync-6d56efa6ea66afa2e6f4eb79d9dd5f3b54b723c3.tar.gz
android_external_rsync-6d56efa6ea66afa2e6f4eb79d9dd5f3b54b723c3.tar.bz2
android_external_rsync-6d56efa6ea66afa2e6f4eb79d9dd5f3b54b723c3.zip
Changed human_num() to big_num() with an extra arg so that it can
be used in place of all %.0f output idioms.
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index b21dff42..6e5c2329 100644
--- a/io.c
+++ b/io.c
@@ -629,8 +629,8 @@ static void whine_about_eof(int fd)
}
rprintf(FERROR, RSYNC_NAME ": connection unexpectedly closed "
- "(%.0f bytes received so far) [%s]\n",
- (double)stats.total_read, who_am_i());
+ "(%s bytes received so far) [%s]\n",
+ big_num(stats.total_read, 0), who_am_i());
exit_cleanup(RERR_STREAMIO);
}