summaryrefslogtreecommitdiffstats
path: root/helper.c
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 /helper.c
parent83df0693331918f067f7c3501f1229272d2b00e9 (diff)
error message fix
Diffstat (limited to 'helper.c')
-rw-r--r--helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper.c b/helper.c
index efb7a463..28fe0421 100644
--- a/helper.c
+++ b/helper.c
@@ -111,7 +111,7 @@ void get_random_bytes(unsigned char *buf, int len)
fatal("Couldn't create AF_UNIX socket: %s", strerror(errno));
if (connect(random_pool, (struct sockaddr*)&addr, addr_len) == -1)
- fatal("Couldn't connect to EGD socket \"%s\": %s", RANDOM_POOL, strerror(errno));
+ fatal("Couldn't connect to EGD socket \"%s\": %s", addr.sun_path, strerror(errno));
if (len > 255)
fatal("Too many bytes to read from EGD");