summaryrefslogtreecommitdiffstats
path: root/src/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/random.c')
-rw-r--r--src/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/random.c b/src/random.c
index 72e6c6a..904d62f 100644
--- a/src/random.c
+++ b/src/random.c
@@ -51,7 +51,7 @@ void fastd_random_bytes(void *buffer, size_t len, bool secure) {
exit_errno("unable to open random device");
while (read_bytes < len) {
- ssize_t ret = read(fd, ((char*)buffer)+read_bytes, len-read_bytes);
+ ssize_t ret = read(fd, ((char *)buffer)+read_bytes, len-read_bytes);
if (ret < 0)
exit_errno("unable to read from random device");