summaryrefslogtreecommitdiff
path: root/hlink.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-09-01 12:53:43 -0700
committerWayne Davison <wayned@samba.org>2008-09-01 13:27:11 -0700
commitadc2476fa213797d849ae80fa8b5fcd9eba5dc4f (patch)
tree6a2ec090dfab190c8583760edafb2828cd7f4944 /hlink.c
parent34c3ca8f35ddd77eb18711d227924d0010520075 (diff)
downloadrsync-adc2476fa213797d849ae80fa8b5fcd9eba5dc4f.tar.gz
rsync-adc2476fa213797d849ae80fa8b5fcd9eba5dc4f.tar.bz2
rsync-adc2476fa213797d849ae80fa8b5fcd9eba5dc4f.zip
Output numbers in 3-digit groups by default (e.g. 1,234,567).
Also improved the human-readable output functions, including adding the ability to output negative numbers.
Diffstat (limited to 'hlink.c')
-rw-r--r--hlink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hlink.c b/hlink.c
index cdafa9fa..212f5153 100644
--- a/hlink.c
+++ b/hlink.c
@@ -21,6 +21,7 @@
*/
#include "rsync.h"
+#include "ifuncs.h"
extern int dry_run;
extern int list_only;
@@ -73,7 +74,7 @@ struct ht_int64_node *idev_find(int64 dev, int64 ino)
if (DEBUG_GTE(HLINK, 3)) {
rprintf(FINFO,
"[%s] created hashtable for dev %s\n",
- who_am_i(), big_num(dev, 0));
+ who_am_i(), big_num(dev));
}
}
} else