[systemd-devel] [PATCH] random-seed: Fix error message typo
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Fri Oct 19 08:41:22 PDT 2012
On 10/19/2012 01:05 PM, Umut Tezduyar wrote:
> The file node is /dev/urandom, not /dev/random.
Applied.
Note: your patch is mangled. Best to use git-send-email directly.
Zbyszek
> if ((r = loop_write(random_fd, buf, (size_t) r,
> false)) <= 0)
> - log_error("Failed to write seed to
> /dev/random: %s", r < 0 ? strerror(errno) : "short write");
> + log_error("Failed to write seed to
> /dev/urandom: %s", r < 0 ? strerror(errno) : "short write");
> }
>
> } else if (streq(argv[1], "save")) {
More information about the systemd-devel
mailing list