projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now add ../lib to @INC.
[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 93ceb24f005e4c0137eae4cfec8ec4628c139635..c602d160269e58786c2ebf3977b20a38be31f6e3 100644
(file)
--- a/
grading/vm/page-merge-par.c
+++ b/
grading/vm/page-merge-par.c
@@
-22,7
+22,7
@@
init (void)
struct arc4 arc4;
size_t i;
struct arc4 arc4;
size_t i;
- printf ("page-merge-par) init\n");
+ printf ("
(
page-merge-par) init\n");
arc4_init (&arc4, "foobar", 6);
arc4_crypt (&arc4, buf1, sizeof buf1);
arc4_init (&arc4, "foobar", 6);
arc4_crypt (&arc4, buf1, sizeof buf1);
@@
-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)
{