Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
xairy authored and nemasu committed Aug 4, 2015
1 parent 02c204a commit 1696ea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syscall.asm
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ sys_mmap_mem:
mov rdx, MMAP_PROT_READ | MMAP_PROT_WRITE ;Protection Flags
mov r10, MMAP_MAP_PRIVATE | MMAP_MAP_ANON ;Flags
xor r8, r8
dec r8 ;-1 fd becasue of MMAP_MAP_ANON
dec r8 ;-1 fd because of MMAP_MAP_ANON
xor r9, r9 ;Offset
mov rax, SYS_MMAP
syscall
Expand All @@ -195,7 +195,7 @@ sys_mmap_stack:
mov rdx, MMAP_PROT_READ | MMAP_PROT_WRITE ;Protection Flags
mov r10, MMAP_MAP_PRIVATE | MMAP_MAP_ANON | MMAP_MAP_GROWSDOWN ;Flags
xor r8, r8
dec r8 ;-1 fd becasue of MMAP_MAP_ANON
dec r8 ;-1 fd because of MMAP_MAP_ANON
xor r9, r9 ;Offset
mov rax, SYS_MMAP
syscall
Expand Down

0 comments on commit 1696ea0

Please sign in to comment.