summaryrefslogtreecommitdiffstats
path: root/src/usr/imgmgmt.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/imgmgmt.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/imgmgmt.c')
-rw-r--r--src/usr/imgmgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/imgmgmt.c b/src/usr/imgmgmt.c
index ef4e2c36..ecf9d31d 100644
--- a/src/usr/imgmgmt.c
+++ b/src/usr/imgmgmt.c
@@ -72,7 +72,7 @@ int imgdownload ( struct uri *uri, struct image **image ) {
}
/* Wait for download to complete */
- if ( ( rc = monojob_wait ( uri_string_redacted ) ) != 0 )
+ if ( ( rc = monojob_wait ( uri_string_redacted, 0 ) ) != 0 )
goto err_monojob_wait;
/* Register image */