summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-22 16:30:32 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-22 16:30:32 +0200
commit3ed17b079250962762f4c4baa3639ab884205471 (patch)
tree2ec92ccaad1d475a03990dc61496dd7eb46a3aa2 /Userland
parent1b6fa30e589a006f0ca8c699134912fae887da3b (diff)
downloadserenity-3ed17b079250962762f4c4baa3639ab884205471.zip
printf: Support %zu (the 'z' is really just ignored.)
Diffstat (limited to 'Userland')
-rw-r--r--Userland/tc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/tc.cpp b/Userland/tc.cpp
index 7abf31c9af..857d861e65 100644
--- a/Userland/tc.cpp
+++ b/Userland/tc.cpp
@@ -80,7 +80,7 @@ int main(int argc, char** argv)
printf("\033[36;1m%s\033[0m", buffer);
}
- printf("(%u bytes received)\n", total_recv);
+ printf("(%zu bytes received)\n", total_recv);
rc = close(fd);
if (rc < 0) {
perror("close");