From: Godmar Back Date: Sun, 2 Apr 2006 00:15:15 +0000 (+0000) Subject: fixed typo in mmap example X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1802b7b7b8d5e3d6754da9468e22942a8c29982b;p=pintos-anon fixed typo in mmap example --- diff --git a/doc/vm.texi b/doc/vm.texi index 6176bbd..8afc49c 100644 --- 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,