diff --git a/recipes-tpm/swtpm/files/fix_signed_issue.patch b/recipes-tpm/swtpm/files/fix_signed_issue.patch index 427df62..140585b 100644 --- a/recipes-tpm/swtpm/files/fix_signed_issue.patch +++ b/recipes-tpm/swtpm/files/fix_signed_issue.patch @@ -42,7 +42,7 @@ Index: git/src/swtpm_ioctl/tpm_ioctl.c } /* no tpm_result here */ - printf("ptm capability is 0x%lx\n", (uint64_t)devtoh64(is_chardev, cap)); -+ printf("ptm capability is 0x%llx\n", (uint64_t)devtoh64(is_chardev, cap)); ++ printf("ptm capability is 0x%llx\n", (long long unsigned)devtoh64(is_chardev, cap)); } else if (!strcmp(command, "-i")) { init.u.req.init_flags = htodev32(is_chardev, PTM_INIT_FLAG_DELETE_VOLATILE);