projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add warnings for missing disks with various projects.
[pintos-anon]
/
grading
/
vm
/
mmap-shuffle.c
diff --git
a/grading/vm/mmap-shuffle.c
b/grading/vm/mmap-shuffle.c
index 273bb4e14606ddd6332e5aaadfe9fe1ad367f776..1eccc03849ee0ccc24aa7ad11afa477d59ea91d2 100644
(file)
--- a/
grading/vm/mmap-shuffle.c
+++ b/
grading/vm/mmap-shuffle.c
@@
-5,8
+5,8
@@
#else
#include "posix-compat.h"
#endif
#else
#include "posix-compat.h"
#endif
-#include "arc4.h"
-#include "cksum.h"
+#include "
../lib/
arc4.h"
+#include "
../lib/
cksum.h"
#define SIZE (63 * 1024) /* Max file size. */
static char *buf = (char *) 0x10000000;
#define SIZE (63 * 1024) /* Max file size. */
static char *buf = (char *) 0x10000000;
@@
-83,7
+83,7
@@
main (void)
for (i = 0; i < 10; i++)
{
shuffle ();
for (i = 0; i < 10; i++)
{
shuffle ();
- printf ("(mmap-shuffle) shuffle %
d
: cksum=%lu\n",
+ printf ("(mmap-shuffle) shuffle %
zu
: cksum=%lu\n",
i, cksum (buf, SIZE));
}
i, cksum (buf, SIZE));
}