From 10eb96e23e4f3edd585bc099b9333d97f4c2b366 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 18 Apr 2020 23:18:01 +0200 Subject: Bug fix --- Makefile | 2 +- asm/jo_r_cpyhead.asm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 03b41ad..4a0d34d 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ A_SRCS += ${A_SRCS_DIR}/jo_f_percent.asm # -------------------------------------------------------------------------------------- # A_OBJS = ${A_SRCS:.asm=.o} # ===================================== COMPILER ======================================= # -CC = clang +${CC} = clang # -------------------------------------------------------------------------------------- # CFLAGS += -std=c89 CFLAGS += -Wall diff --git a/asm/jo_r_cpyhead.asm b/asm/jo_r_cpyhead.asm index 8070e0b..35cdcb2 100644 --- a/asm/jo_r_cpyhead.asm +++ b/asm/jo_r_cpyhead.asm @@ -28,7 +28,7 @@ jo_r_cpyhead: ; jo_r_cpyhead(percent: rdi) xor rax, rax mov al, 0x1 push rdi - cal sprintf + call sprintf pop rdi mov rax, rdi retq -- cgit v1.2.3