Skip to content

Commit

Permalink
swtpm: Fix name of variable passed to TPM_DEBUG
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
  • Loading branch information
stefanberger committed Nov 8, 2024
1 parent f6f858e commit bf4fc05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swtpm/swtpm_nvstore_linear_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ SWTPM_NVRAM_LinearFile_Open(const char* uri,

rc = SWTPM_NVRAM_LinearFile_Mmap();
if (rc == 0) {
TPM_DEBUG("SWTPM_NVRAM_LinearFile_Open: Success opening '%s'\n", path);
TPM_DEBUG("SWTPM_NVRAM_LinearFile_Open: Success opening '%s'\n", uri);
*length = mmap_state.size;
*data = mmap_state.ptr;
}
Expand Down

0 comments on commit bf4fc05

Please sign in to comment.