diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-11-07 18:52:41 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-11-08 09:44:27 +0100 |
commit | afff8f16ae5f5a5dfaa1db226f755c8953dab382 (patch) | |
tree | 4371b4dffb5a0a9ec6a37fbdbfbbc0baf1891821 /src/basic/random-util.c | |
parent | random-util: handle if getrandom() returns 0 (diff) | |
download | systemd-afff8f16ae5f5a5dfaa1db226f755c8953dab382.tar.xz systemd-afff8f16ae5f5a5dfaa1db226f755c8953dab382.zip |
random-util: fix indentation
Diffstat (limited to 'src/basic/random-util.c')
-rw-r--r-- | src/basic/random-util.c | 4 |
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. |