summaryrefslogtreecommitdiff
path: root/src/lib/tpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tpm.c')
-rw-r--r--src/lib/tpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tpm.c b/src/lib/tpm.c
index f45744ee..31bb8a7f 100644
--- a/src/lib/tpm.c
+++ b/src/lib/tpm.c
@@ -161,7 +161,7 @@ static void * tpmgr(void * o)
list_add(&e->next, &tpm.pool);
}
- tpm.cur += tpm.inc;
+ tpm.cur += i;
}
if (pthread_cond_timedwait(&tpm.cond, &tpm.lock, &dl)