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_write.s | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ft_write.s') diff --git a/ft_write.s b/ft_write.s index 01ba580..0d723f7 100644 --- a/ft_write.s +++ b/ft_write.s @@ -27,15 +27,15 @@ global M_FT_WRITE section .text ; int ft_write(int rdi, const void *rsi, size_t rdx); M_FT_WRITE: - mov rax, M_SYSCALL_WRITE - syscall + mov rax, M_SYSCALL_WRITE + syscall %ifdef __LINUX__ cmp rax, 0 jl FT_WRITE_ERROR %else jc FT_WRITE_ERROR %endif - ret + ret FT_WRITE_ERROR: %ifdef __LINUX__ neg rax @@ -43,5 +43,5 @@ FT_WRITE_ERROR: push rax call M_ERRNO_LOCATION wrt ..plt pop qword [rax] - mov rax, -1 - ret + mov rax, -1 + ret -- cgit