diff --git a/man/man3/TPMLIB_RegisterCallbacks.pod b/man/man3/TPMLIB_RegisterCallbacks.pod index b584a83d..0f698b93 100644 --- a/man/man3/TPMLIB_RegisterCallbacks.pod +++ b/man/man3/TPMLIB_RegisterCallbacks.pod @@ -217,14 +217,16 @@ B return TPM_SUCCESS; } - static TPM_RESULT tpm_io_getlocality(TPM_MODIFIER_INDICATOR *locModif) + static TPM_RESULT mytpm_io_getlocality(TPM_MODIFIER_INDICATOR *locModif, + uint32_t tpm_number) { *locModif = locality; return TPM_SUCCESS: } - static TPM_RESULT mytpm_io_getphysicalpresence(TPM_BOOL *phyPres) + static TPM_RESULT mytpm_io_getphysicalpresence(TPM_BOOL *physicalPresence, + uint32_t tpm_number) { *physicalPresence = FALSE; @@ -253,7 +255,7 @@ B [...] - if (TPMLIB_RegisterCallbacks(cbs) != TPM_SUCCESS) { + if (TPMLIB_RegisterCallbacks(&cbs) != TPM_SUCCESS) { fprintf(stderr, "Could not register the callbacks.\n"); return 1; }