From a75cb9666237b3479471238eb26b39872b9858e0 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 22 Nov 1999 13:55:36 +1100 Subject: [PATCH] error message fix --- helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) 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");