]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[linux] Add missing return statement to linux_poll()
authorMichael Brown <mcb30@ipxe.org>
Sun, 27 Apr 2025 22:28:51 +0000 (23:28 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sun, 27 Apr 2025 22:28:51 +0000 (23:28 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/linux/linux_api.c

index 21024ede1b42ab3129ab5780ca710e49eb704aae..459e39fd5e865a75cd7d6bd9bf137f010712be41 100644 (file)
@@ -225,6 +225,7 @@ int __asmcall linux_poll ( struct pollfd *fds, unsigned int nfds,
        ret = poll ( fds, nfds, timeout );
        if ( ret == -1 )
                linux_errno = errno;
+       return ret;
 }
 
 /**