rcore-os / rCore-Tutorial-Book-v3

A book about how to write OS kernels in Rust easily.
https://rcore-os.github.io/rCore-Tutorial-Book-v3/
GNU General Public License v3.0
1.13k stars 211 forks source link

fix typo 'port' -> 'prot' #161

Closed wangrunji0408 closed 1 year ago

wangrunji0408 commented 1 year ago

The argument port in sys_mmap should be prot (short for 'protection').

P.S. This issue was found by Prof. Kang Chen.