diff options
author | Damien Miller <djm@mindrot.org> | 1999-11-22 13:55:36 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-11-22 13:55:36 +1100 |
commit | a75cb9666237b3479471238eb26b39872b9858e0 (patch) | |
tree | 9e28be9cbac107e6b6a850a10f515080b54c0718 /helper.c | |
parent | 83df0693331918f067f7c3501f1229272d2b00e9 (diff) |
error message fix
Diffstat (limited to 'helper.c')
-rw-r--r-- | helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |