projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Print int with %d, not %zu.
[pintos-anon]
/
src
/
tests
/
threads
/
list.c
diff --git
a/src/tests/threads/list.c
b/src/tests/threads/list.c
index 3704af93c68b1c8497b3ff161feef35377bfe09b..2300bc353f170e4ec4287adbd1b597101ce22e47 100644
(file)
--- a/
src/tests/threads/list.c
+++ b/
src/tests/threads/list.c
@@
-41,7
+41,7
@@
test (void)
{
int repeat;
{
int repeat;
- printf (" %
zu
", size);
+ printf (" %
d
", size);
for (repeat = 0; repeat < 10; repeat++)
{
static struct value values[MAX_SIZE * 4];
for (repeat = 0; repeat < 10; repeat++)
{
static struct value values[MAX_SIZE * 4];
@@
-104,6
+104,7
@@
test (void)
}
printf (" done\n");
}
printf (" done\n");
+ printf ("list: PASS\n");
}
/* Shuffles the CNT elements in ARRAY into random order. */
}
/* Shuffles the CNT elements in ARRAY into random order. */