diff options
author | Wayne Davison <wayned@samba.org> | 2008-07-17 17:01:10 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2008-07-17 17:01:10 -0700 |
commit | 7f0db4fd8e039a031f5eeebf80f2803ec56fb61c (patch) | |
tree | 6b6b1417e6b69f7a29e974d34913504871394052 /tls.c | |
parent | 3a8fad78053e1fb9fdaa227a066bb62e814cb3c1 (diff) | |
download | rsync-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |