summaryrefslogtreecommitdiff
path: root/tls.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-07-17 17:01:10 -0700
committerWayne Davison <wayned@samba.org>2008-07-17 17:01:10 -0700
commit7f0db4fd8e039a031f5eeebf80f2803ec56fb61c (patch)
tree6b6b1417e6b69f7a29e974d34913504871394052 /tls.c
parent3a8fad78053e1fb9fdaa227a066bb62e814cb3c1 (diff)
downloadrsync-7f0db4fd8e039a031f5eeebf80f2803ec56fb61c.tar.gz
rsync-7f0db4fd8e039a031f5eeebf80f2803ec56fb61c.tar.bz2
rsync-7f0db4fd8e039a031f5eeebf80f2803ec56fb61c.zip
Use big_num() in a few more places.
Diffstat (limited to 'tls.c')
-rw-r--r--tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tls.c b/tls.c
index c11bdb45..c01bdc88 100644
--- a/tls.c
+++ b/tls.c
@@ -179,8 +179,8 @@ static void list_file(const char *fname)
printf("%5ld,%6ld",
(long)major(buf.st_rdev),
(long)minor(buf.st_rdev));
- } else /* NB: use double for size since it might not fit in a long. */
- printf("%12.0f", (double)buf.st_size);
+ } else
+ printf("%12s", big_num(buf.st_size, 0));
printf(" %6ld.%-6ld %6ld %s %s%s\n",
(long)buf.st_uid, (long)buf.st_gid, (long)buf.st_nlink,
datebuf, fname, linkbuf);