summaryrefslogtreecommitdiffstats
path: root/src/usr/imgtrust.c
diff options
context:
space:
mode:
authorMichael Brown2013-11-01 02:55:13 +0100
committerMichael Brown2013-11-01 17:26:02 +0100
commitd1be9f4acc9d4367fb6dc793495f0cc819b5a514 (patch)
tree6865cbc8e41c0b052aa704f0a41b7eaecd0f2f0a /src/usr/imgtrust.c
parent[job] Allow job_progress() to return an ongoing job status code, if known (diff)
downloadipxe-d1be9f4acc9d4367fb6dc793495f0cc819b5a514.tar.gz
ipxe-d1be9f4acc9d4367fb6dc793495f0cc819b5a514.tar.xz
ipxe-d1be9f4acc9d4367fb6dc793495f0cc819b5a514.zip
[monojob] Add timeout parameter to monojob_wait()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/usr/imgtrust.c')
-rw-r--r--src/usr/imgtrust.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/imgtrust.c b/src/usr/imgtrust.c
index afb41529..c49eb7f2 100644
--- a/src/usr/imgtrust.c
+++ b/src/usr/imgtrust.c
@@ -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;
}