From d6240e3f6aeb342aaf13284c7cc93226970648aa Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 11 Feb 2021 15:44:44 +0100 Subject: Replaced tab with spaces --- ft_read.s | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ft_read.s') diff --git a/ft_read.s b/ft_read.s index 7f8c5db..1728430 100644 --- a/ft_read.s +++ b/ft_read.s @@ -27,15 +27,15 @@ global M_FT_READ section .text ; int ft_read(int, void*, size_t); M_FT_READ: - mov rax, M_SYSCALL_READ - syscall + mov rax, M_SYSCALL_READ + syscall %ifdef __LINUX__ cmp rax, 0 jl FT_READ_ERROR %else jc FT_READ_ERROR %endif - ret + ret FT_READ_ERROR: %ifdef __LINUX__ neg rax @@ -43,5 +43,5 @@ FT_READ_ERROR: push rax call M_ERRNO_LOCATION wrt ..plt pop qword [rax] - mov rax, -1 - ret + mov rax, -1 + ret -- cgit