summaryrefslogtreecommitdiffstats
path: root/src/random.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-08-24 21:06:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-08-24 21:06:09 +0200
commit9855a34f48acf6ae3aaeba9ec37756da41507e64 (patch)
treea02c2a507b3d536182d81e78b878b6b29c617cb9 /src/random.c
parent1ae3aae35193dce25e5534b12a46011ec7912bb4 (diff)
downloadfastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.tar
fastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.zip
Coding style: always add a space between a pointer's type and the *
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");