From 951057273ebb90bf752106ed9a3ea149c7077f4b Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 18 Nov 2020 16:47:07 +0000 Subject: In progress FossilOrigin-Name: b0bb584d5675f1f2e8a015cbec044393165308c2 --- src/c_bsdsetsid.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/c_bsdsetsid.S') diff --git a/src/c_bsdsetsid.S b/src/c_bsdsetsid.S index 4d202dd..55807e1 100644 --- a/src/c_bsdsetsid.S +++ b/src/c_bsdsetsid.S @@ -3,7 +3,8 @@ c_main: movq $0x1, %rdi - leaq str, %rsi + xorq %rcx, %rcx + movq 8(%rsp, %rcx, 8), %rsi movq $0xa, %rdx movb $0x4, %al syscall -- cgit v1.2.3