squash! Mes C Library: m2/waitpid.c: Remove specialization.

This commit is contained in:
Jan (janneke) Nieuwenhuizen 2022-04-30 21:24:10 +02:00 committed by Jan Nieuwenhuizen
parent f9ea638526
commit 63b95907be
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ waitpid (int pid, int *status_ptr, int options)
long long_options = options;
#if __i386__
return _sys_call3 (SYS_waitpid, long_pid, long_status_ptr, long_options);
#elif __x86_64__
#elif __x86_64__ || __arm__
return _sys_call4 (SYS_wait4, long_pid, long_status_ptr, long_options, 0);
#else
#error arch not supported