summaryrefslogtreecommitdiffstats
path: root/src/basic
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-11-07 18:52:41 +0100
committerLennart Poettering <lennart@poettering.net>2018-11-08 09:44:27 +0100
commitafff8f16ae5f5a5dfaa1db226f755c8953dab382 (patch)
tree4371b4dffb5a0a9ec6a37fbdbfbbc0baf1891821 /src/basic
parentrandom-util: handle if getrandom() returns 0 (diff)
downloadsystemd-afff8f16ae5f5a5dfaa1db226f755c8953dab382.tar.xz
systemd-afff8f16ae5f5a5dfaa1db226f755c8953dab382.zip
random-util: fix indentation
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/random-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/random-util.c b/src/basic/random-util.c
index 3989bb9dc6..b6d1cfd1ca 100644
--- a/src/basic/random-util.c
+++ b/src/basic/random-util.c
@@ -97,8 +97,8 @@ int genuine_random_bytes(void *p, size_t n, bool high_quality_required) {
have_syscall = true;
return -EIO;
} else if (errno == ENOSYS)
- /* We lack the syscall, continue with reading from /dev/urandom. */
- have_syscall = false;
+ /* We lack the syscall, continue with reading from /dev/urandom. */
+ have_syscall = false;
else if (errno == EAGAIN) {
/* The kernel has no entropy whatsoever. Let's remember to
* use the syscall the next time again though.