projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update tests.
[pintos-anon]
/
grading
/
vm
/
page-merge-par.c
diff --git
a/grading/vm/page-merge-par.c
b/grading/vm/page-merge-par.c
index dd24576b5dc34c6e9579956e141432f3adfe4537..c602d160269e58786c2ebf3977b20a38be31f6e3 100644
(file)
--- a/
grading/vm/page-merge-par.c
+++ b/
grading/vm/page-merge-par.c
@@
-46,7
+46,7
@@
sort (void)
printf ("(page-merge-par) sort chunk %zu\n", i);
/* Write this chunk to a file. */
printf ("(page-merge-par) sort chunk %zu\n", i);
/* Write this chunk to a file. */
- snprintf (fn, sizeof fn, "buf%
d
", i);
+ snprintf (fn, sizeof fn, "buf%
zu
", i);
create (fn, CHUNK_SIZE);
fd = open (fn);
if (fd < 0)
create (fn, CHUNK_SIZE);
fd = open (fn);
if (fd < 0)
@@
-79,7
+79,7
@@
sort (void)
}
/* Read chunk back from file. */
}
/* Read chunk back from file. */
- snprintf (fn, sizeof fn, "buf%
d
", i);
+ snprintf (fn, sizeof fn, "buf%
zu
", i);
fd = open (fn);
if (fd < 0)
{
fd = open (fn);
if (fd < 0)
{