1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 14:55:37 +03:00
This commit is contained in:
jiangchuangang 2022-08-23 11:22:37 +08:00 committed by Zbigniew Jędrzejewski-Szmek
parent 046f101bf6
commit 9ed999cb5d

View File

@ -76,7 +76,7 @@ int efi_take_random_seed(void) {
return log_warning_errno(SYNTHETIC_ERRNO(EINVAL), "Random seed passed from boot loader has zero size? Ignoring.");
/* Before we use the seed, let's mark it as used, so that we never credit it twice. Also, it's a nice
* way to let users known that we successfully acquired entropy from the boot laoder. */
* way to let users known that we successfully acquired entropy from the boot loader. */
r = touch("/run/systemd/efi-random-seed-taken");
if (r < 0)
return log_warning_errno(r, "Unable to mark EFI random seed as used, not using it: %m");