Change all stderr to stdout

This commit is contained in:
Alexander Rosenberg 2022-10-06 02:05:13 -07:00
parent 10499d6667
commit 3b913b0ceb
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -5,7 +5,6 @@
%define FD_stdin 0 %define FD_stdin 0
%define FD_stdout 1 %define FD_stdout 1
%define FD_stderr 2
%define POLLIN 1 %define POLLIN 1
@ -322,7 +321,7 @@ read_float_end:
read_float_num_error: read_float_num_error:
mov rax,SYS_write mov rax,SYS_write
mov rdi,FD_stderr mov rdi,FD_stdout
mov rsi,num_error_text mov rsi,num_error_text
mov rdx,num_error_length mov rdx,num_error_length
syscall syscall
@ -332,7 +331,7 @@ read_float_num_error:
read_float_size_error: read_float_size_error:
mov rax,SYS_write mov rax,SYS_write
mov rdi,FD_stderr mov rdi,FD_stdout
mov rsi,size_error_text mov rsi,size_error_text
mov rdx,size_error_length mov rdx,size_error_length
syscall syscall