summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUmut Tezduyar <umut@tezduyar.com>2012-10-19 17:23:41 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-10-19 17:31:33 +0200
commit2a7cccf065c73abfe263d9c0b24bab24b6e68f29 (patch)
treee020fe20bc2dbe7d51d1f65d7448971f37e160a1 /src
parent5de0409e54580b1e8929d9e09f970dfe339cec7b (diff)
random-seed: fix error message typo
The file node is /dev/urandom, not /dev/random.
Diffstat (limited to 'src')
-rw-r--r--src/random-seed/random-seed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/random-seed/random-seed.c b/src/random-seed/random-seed.c
index c2729fe416..fdcaa1e154 100644
--- a/src/random-seed/random-seed.c
+++ b/src/random-seed/random-seed.c
@@ -101,7 +101,8 @@ int main(int argc, char *argv[]) {
lseek(seed_fd, 0, SEEK_SET);
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")) {