summaryrefslogtreecommitdiff
path: root/src/bin/tyls.c
diff options
context:
space:
mode:
authorMike McCormack <mike@atratus.org>2013-01-31 03:31:03 +0000
committerMike McCormack <mikem@ring3k.org>2013-01-31 03:31:03 +0000
commit83d1371953e889bb54826ea78bbb7b44da303cd1 (patch)
tree6ee652e5d26940076fa4a9edfe55d64d5cddc858 /src/bin/tyls.c
parent684c7499ade914711d61f25a480d5e344cffdb29 (diff)
terminology: Fix warning
Signed-off-by: Mike McCormack <mike@atratus.org> SVN revision: 83499
Diffstat (limited to 'src/bin/tyls.c')
-rw-r--r--src/bin/tyls.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/tyls.c b/src/bin/tyls.c
index f1e7560..90b46cf 100644
--- a/src/bin/tyls.c
+++ b/src/bin/tyls.c
@@ -154,12 +154,12 @@ list_dir(const char *dir, int mode)
154 snprintf(sz, sizeof(sz), "%4lldK", size / (1024)); 154 snprintf(sz, sizeof(sz), "%4lldK", size / (1024));
155 else if (size < (1024 * 1024 * 1024)) 155 else if (size < (1024 * 1024 * 1024))
156 snprintf(sz, sizeof(sz), "%4lldM", size / (1024 * 1024)); 156 snprintf(sz, sizeof(sz), "%4lldM", size / (1024 * 1024));
157 else if (size < (1024 * 1024 * 1024 * 1024)) 157 else if (size < (1024 * 1024 * 1024 * 1024LL))
158 snprintf(sz, sizeof(sz), "%4lldG", size / (1024 * 1024 * 1024)); 158 snprintf(sz, sizeof(sz), "%4lldG", size / (1024 * 1024 * 1024LL));
159 else if (size < (1024 * 1024 * 1024 * 1024 * 1024)) 159 else if (size < (1024 * 1024 * 1024 * 1024LL * 1024LL))
160 snprintf(sz, sizeof(sz), "%4lldT", size / (1024 * 1024 * 1024 * 1024)); 160 snprintf(sz, sizeof(sz), "%4lldT", size / (1024 * 1024 * 1024 * 1024LL));
161 else if (size < (1024 * 1024 * 1024 * 1024 * 1024 * 1024)) 161 else if (size < (1024 * 1024 * 1024 * 1024LL * 1024LL * 1024LL))
162 snprintf(sz, sizeof(sz), "%4lldP", size / (1024 * 1024 * 1024 * 1024 * 1024)); 162 snprintf(sz, sizeof(sz), "%4lldP", size / (1024 * 1024 * 1024 * 1024LL * 1024LL));
163 len += stuff; 163 len += stuff;
164 printf("%c}ic#%i;%i;%s%c", 0x1b, 2, 1, buf, 0); 164 printf("%c}ic#%i;%i;%s%c", 0x1b, 2, 1, buf, 0);
165 printf("%c}ib%c", 0x1b, 0); 165 printf("%c}ib%c", 0x1b, 0);