The code uses division by 1024. Also, the manual uses "KiB".
Signed-off-by: Mihai Capotă <[email protected]>
---
builtin/count-objects.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/count-objects.c b/builtin/count-objects.c
index 9afaa88..ecc13b0 100644
--- a/builtin/count-objects.c
+++ b/builtin/count-objects.c
@@ -124,7 +124,7 @@ int cmd_count_objects(int argc, const char **argv, const
char *prefix)
printf("garbage: %lu\n", garbage);
}
else
- printf("%lu objects, %lu kilobytes\n",
+ printf("%lu objects, %lu KiB\n",
loose, (unsigned long) (loose_size / 1024));
return 0;
}
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html