mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 02:47:34 +00:00
printf: Support %zu (the 'z' is really just ignored.)
This commit is contained in:
parent
1b6fa30e58
commit
3ed17b0792
3 changed files with 9 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue