summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-22 13:55:36 +1100
committerDamien Miller <djm@mindrot.org>1999-11-22 13:55:36 +1100
commita75cb9666237b3479471238eb26b39872b9858e0 (patch)
tree9e28be9cbac107e6b6a850a10f515080b54c0718
parent83df0693331918f067f7c3501f1229272d2b00e9 (diff)
error message fix
-rw-r--r--helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper.c b/helper.c
index efb7a4631..28fe04219 100644
--- a/helper.c
+++ b/helper.c
@@ -111,7 +111,7 @@ void get_random_bytes(unsigned char *buf, int len)
111 fatal("Couldn't create AF_UNIX socket: %s", strerror(errno)); 111 fatal("Couldn't create AF_UNIX socket: %s", strerror(errno));
112 112
113 if (connect(random_pool, (struct sockaddr*)&addr, addr_len) == -1) 113 if (connect(random_pool, (struct sockaddr*)&addr, addr_len) == -1)
114 fatal("Couldn't connect to EGD socket \"%s\": %s", RANDOM_POOL, strerror(errno)); 114 fatal("Couldn't connect to EGD socket \"%s\": %s", addr.sun_path, strerror(errno));
115 115
116 if (len > 255) 116 if (len > 255)
117 fatal("Too many bytes to read from EGD"); 117 fatal("Too many bytes to read from EGD");