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
/
mmap-twice.c
diff --git
a/grading/vm/mmap-twice.c
b/grading/vm/mmap-twice.c
index b3b06d931d74b0f39075f24621ecd67ab1aead98..aba5ef2869b0f0335b93c39a553682252a610427 100644
(file)
--- a/
grading/vm/mmap-twice.c
+++ b/
grading/vm/mmap-twice.c
@@
-18,15
+18,15
@@
main (void)
for (i = 0; i < 2; i++)
{
for (i = 0; i < 2; i++)
{
- fd[i] = open ("sample");
+ fd[i] = open ("sample
.txt
");
if (fd[i] < 0)
{
if (fd[i] < 0)
{
- printf ("(mmap-twice) open() %zu failed\n", i);
+ printf ("(mmap-twice) open()
#
%zu failed\n", i);
return 1;
}
if (!mmap (fd[i], actual[i], 8192))
{
return 1;
}
if (!mmap (fd[i], actual[i], 8192))
{
- printf ("(mmap-twice) mmap() %zu failed\n", i);
+ printf ("(mmap-twice) mmap()
#
%zu failed\n", i);
return 1;
}
}
return 1;
}
}