diff options
author | Michael Brown <mcb30@ipxe.org> | 2013-11-01 01:55:13 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2013-11-01 16:26:02 +0000 |
commit | d1be9f4acc9d4367fb6dc793495f0cc819b5a514 (patch) | |
tree | 6865cbc8e41c0b052aa704f0a41b7eaecd0f2f0a /src/usr/pingmgmt.c | |
parent | 5674a3c087bf1bde65b61b6b0ca26035dd47baa3 (diff) | |
download | ipxe-d1be9f4acc9d4367fb6dc793495f0cc819b5a514.tar.gz |
[monojob] Add timeout parameter to monojob_wait()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/usr/pingmgmt.c')
-rw-r--r-- | src/usr/pingmgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/pingmgmt.c b/src/usr/pingmgmt.c index 0db10c21..2d4db491 100644 --- a/src/usr/pingmgmt.c +++ b/src/usr/pingmgmt.c @@ -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; } |