summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLieuwe Rooijakkers <lieuwerooijakkers@gmail.com>2024-09-29 19:55:35 +0200
committerLieuwe Rooijakkers <lieuwerooijakkers@gmail.com>2024-09-29 22:04:48 +0200
commit8426f24779ff3ad41f867a4a84bd44852a08c394 (patch)
treec1b17eba27fbaa8f583c89f28c383c0792de1900
parent8094ff63948359f900dfe4fbe39ec2a7c2e84c89 (diff)
toilet: pad numbers
-rw-r--r--src/toilet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toilet.c b/src/toilet.c
index de32003..9f45a7d 100644
--- a/src/toilet.c
+++ b/src/toilet.c
@@ -122,7 +122,7 @@ static int process(struct filebuf *fb, char *fname, bool) {
for (enum MODE mode = 1; mode <= M_BYTES; mode <<= 1) {
if (mode & modeMap) {
const size_t count = get_count(mode, fb);
- printf("%li ", count);
+ printf("% 10li ", count);
}
}
printf("%s\n", fname);