aboutsummaryrefslogtreecommitdiffstats
path: root/man1
diff options
context:
space:
mode:
Diffstat (limited to 'man1')
-rw-r--r--man1/memusage.16
1 files changed, 3 insertions, 3 deletions
diff --git a/man1/memusage.1 b/man1/memusage.1
index 10fa18aee7..cede2df3d4 100644
--- a/man1/memusage.1
+++ b/man1/memusage.1
@@ -249,7 +249,7 @@ main(int argc, char *argv[])
int *p;
size = sizeof(*p) * 100;
- printf("malloc: %zd\en", size);
+ printf("malloc: %zu\en", size);
p = malloc(size);
for (i = 0; i < CYCLES; i++) {
@@ -259,11 +259,11 @@ main(int argc, char *argv[])
j--;
size = sizeof(*p) * (j * 50 + 110);
- printf("realloc: %zd\en", size);
+ printf("realloc: %zu\en", size);
p = realloc(p, size);
size = sizeof(*p) * ((j + 1) * 150 + 110);
- printf("realloc: %zd\en", size);
+ printf("realloc: %zu\en", size);
p = realloc(p, size);
}