pcrlock: Print correct NV index when writing new policy

This commit is contained in:
Gabríel Arthúr Pétursson 2024-01-04 12:42:04 +00:00
parent 56f20e3a46
commit ab39d29606

View file

@ -4560,7 +4560,7 @@ static int verb_make_policy(int argc, char *argv[], void *userdata) {
return r;
}
log_info("Written new policy to '%s' and digest to TPM2 NV index 0x%" PRIu32 ".", path, nv_index);
log_info("Written new policy to '%s' and digest to TPM2 NV index 0x%x.", path, nv_index);
log_info("Overall time spent: %s", FORMAT_TIMESPAN(usec_sub_unsigned(now(CLOCK_MONOTONIC), start_usec), 1));