From b86d5dbab90c48d1c4dcc53a6974f9634f58b268 Mon Sep 17 00:00:00 2001 From: starnakin Date: Mon, 2 Sep 2024 14:57:56 +0200 Subject: [PATCH] strcpy: fix: return value --- src/ft_strcpy.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ft_strcpy.asm b/src/ft_strcpy.asm index ba894c4..43379e1 100644 --- a/src/ft_strcpy.asm +++ b/src/ft_strcpy.asm @@ -15,5 +15,5 @@ loop: jmp loop out: - mov rax, rcx + mov rax, rdi ret \ No newline at end of file