diff --git a/src/shims/unix/linux_like/syscall.rs b/src/shims/unix/linux_like/syscall.rs index 4913c1d266..3b881111ac 100644 --- a/src/shims/unix/linux_like/syscall.rs +++ b/src/shims/unix/linux_like/syscall.rs @@ -16,7 +16,7 @@ pub fn syscall<'tcx>( ) -> InterpResult<'tcx> { // We do not use `check_shim` here because `syscall` is variadic. The argument // count is checked below. - let ([op], var) = ecx.check_shim_variadic::<1>(abi, Conv::C, link_name, "syscall", args)?; + let ([op], var) = ecx.check_shim_variadic(abi, Conv::C, link_name, "syscall", args)?; // The syscall variadic function is legal to call with more arguments than needed, // extra arguments are simply ignored. The important check is that when we use an // argument, we have to also check all arguments *before* it to ensure that they