diff options
author | Michael Brown <mcb30@etherboot.org> | 2009-08-10 01:09:41 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2009-08-10 19:27:24 +0100 |
commit | 04878ef74512df49803d1119c72c49cd8f1bfe10 (patch) | |
tree | add5a2af82095b9f731c90652e1f6d2b72a629f3 /src/net/retry.c | |
parent | 46073f12391e5a467fbf5d5853ea91333fcce843 (diff) | |
download | ipxe-04878ef74512df49803d1119c72c49cd8f1bfe10.zip ipxe-04878ef74512df49803d1119c72c49cd8f1bfe10.tar.gz ipxe-04878ef74512df49803d1119c72c49cd8f1bfe10.tar.bz2 |
[process] Make it safe to call process_add() multiple times
Diffstat (limited to 'src/net/retry.c')
-rw-r--r-- | src/net/retry.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/retry.c b/src/net/retry.c index 3ca6936..40f656f 100644 --- a/src/net/retry.c +++ b/src/net/retry.c @@ -187,5 +187,6 @@ static void retry_step ( struct process *process __unused ) { /** Retry timer process */ struct process retry_process __permanent_process = { + .list = LIST_HEAD_INIT ( retry_process.list ), .step = retry_step, }; |