From 1bba98be746ab9dc8b4038a78afaecba75a33d9c Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Mon, 29 Jan 2024 21:44:42 +0100 Subject: [PATCH] remove typo and rename system call to sys_poll --- hermit-abi/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hermit-abi/src/lib.rs b/hermit-abi/src/lib.rs index 0c2664dc4..be3d8ef31 100644 --- a/hermit-abi/src/lib.rs +++ b/hermit-abi/src/lib.rs @@ -656,7 +656,7 @@ extern "C" { #[link_name = "sys_ioctl"] pub fn ioctl(s: i32, cmd: i32, argp: *mut c_void) -> i32; - #[link_name = "sys_pool"] + #[link_name = "sys_poll"] pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: i32) -> i32; /// listen for connections on a socket