aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-18 23:18:01 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-18 23:18:01 +0200
commit10eb96e23e4f3edd585bc099b9333d97f4c2b366 (patch)
treea16a1ef35d1fe6440bba94e55cd01f52162d6d32
parentWhitespaces fix (diff)
downloadlowbat-bsd-10eb96e23e4f3edd585bc099b9333d97f4c2b366.tar.gz
lowbat-bsd-10eb96e23e4f3edd585bc099b9333d97f4c2b366.tar.bz2
lowbat-bsd-10eb96e23e4f3edd585bc099b9333d97f4c2b366.tar.xz
lowbat-bsd-10eb96e23e4f3edd585bc099b9333d97f4c2b366.tar.zst
lowbat-bsd-10eb96e23e4f3edd585bc099b9333d97f4c2b366.zip
Bug fix
-rw-r--r--Makefile2
-rw-r--r--asm/jo_r_cpyhead.asm2
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