summaryrefslogtreecommitdiffstats
path: root/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'random.c')
-rw-r--r--random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/random.c b/random.c
index 484c1902f..3c74a2acb 100644
--- a/random.c
+++ b/random.c
@@ -297,7 +297,7 @@ fill_random_seed(unsigned long seed[DEFAULT_SEED_CNT])
#endif
)) >= 0) {
if (fstat(fd, &statbuf) == 0 && S_ISCHR(statbuf.st_mode)) {
- read(fd, seed, DEFAULT_SEED_LEN);
+ (void)read(fd, seed, DEFAULT_SEED_LEN);
}
close(fd);
}