mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +03:00
[monojob] Add timeout parameter to monojob_wait()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@ int ping ( const char *hostname, unsigned long timeout, size_t len ) {
|
||||
}
|
||||
|
||||
/* Wait for ping to complete */
|
||||
if ( ( rc = monojob_wait ( NULL ) ) != 0 ) {
|
||||
if ( ( rc = monojob_wait ( NULL, 0 ) ) != 0 ) {
|
||||
printf ( "Finished: %s\n", strerror ( rc ) );
|
||||
return rc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user