From 1696ea0d6ac9ba654296a492a1e85fb7df7ab7d1 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Wed, 20 May 2015 14:04:56 +0300 Subject: [PATCH] Fix typos --- syscall.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syscall.asm b/syscall.asm index d5dde30..e58a2e3 100644 --- a/syscall.asm +++ b/syscall.asm @@ -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 @@ -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