Skip to content

Commit f8fdec4

Browse files
authoredJul 18, 2020
Update background.md
typo
1 parent f2650cf commit f8fdec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎initial-xv6/background.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ read:
4949
File: **usys.S**
5050

5151
Here we can see that the **read()** library function actually doesn't do much
52-
at all; it moves the value 5 into the register **%eax** and issues the x86
52+
at all; it moves the value 6 into the register **%eax** and issues the x86
5353
trap instruction which is confusingly called **int** (short for *interrupt*).
5454
The value in **%eax** is going to be used by the kernel to *vector* to the
5555
right system call, i.e., it determines which system call is being invoked. The

0 commit comments

Comments
 (0)