projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cec4bf
)
fixed typo in mmap example
author
Godmar Back
<godmar@gmail.com>
Sun, 2 Apr 2006 00:15:15 +0000
(
00:15
+0000)
committer
Godmar Back
<godmar@gmail.com>
Sun, 2 Apr 2006 00:15:15 +0000
(
00:15
+0000)
doc/vm.texi
patch
|
blob
|
history
diff --git
a/doc/vm.texi
b/doc/vm.texi
index 6176bbd8dbf4ad38a170347586b18866b8aaa779..8afc49c53d6f9a17665c6f3e22469fa89f8b3dfb 100644
(file)
--- a/
doc/vm.texi
+++ b/
doc/vm.texi
@@
-713,7
+713,7
@@
with the file mapped into your address space, you can directly address
it like so:
@example
-write (
addr, 64, STDOUT_FILENO
);
+write (
STDOUT_FILENO, addr, 64
);
@end example
Similarly, if you wanted to replace the first byte of the file,