[monojob] Add timeout parameter to monojob_wait()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2013-11-01 16:26:02 +00:00
parent 5674a3c087
commit d1be9f4acc
8 changed files with 26 additions and 18 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ int imgverify ( struct image *image, struct image *signature,
list_for_each_entry ( info, &sig->info, list ) {
if ( ( rc = create_validator ( &monojob, info->chain ) ) != 0 )
goto err_create_validator;
if ( ( rc = monojob_wait ( NULL ) ) != 0 )
if ( ( rc = monojob_wait ( NULL, 0 ) ) != 0 )
goto err_validator_wait;
}