mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
pcrextend: fix wrong format in log
`name` is string type, should use `%s` replace `%u`
This commit is contained in:
committed by
Lennart Poettering
parent
d8e38d4aaa
commit
df79e5b97e
@@ -345,7 +345,7 @@ static int extend_nvpcr_now(
|
||||
"MESSAGE_ID=" SD_MESSAGE_TPM_NVPCR_EXTEND_STR,
|
||||
LOG_MESSAGE("Extended NvPCR index '%s' with '%s'.", name, safe),
|
||||
"MEASURING=%s", safe,
|
||||
"NVPCR=%u", name);
|
||||
"NVPCR=%s", name);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user