]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
random-util: fix indentation
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Nov 2018 17:52:41 +0000 (18:52 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 8 Nov 2018 08:44:27 +0000 (09:44 +0100)
src/basic/random-util.c

index 3989bb9dc6181957e0446199bbce9dbb8278bf95..b6d1cfd1ca67581a8d0f3c7194e32d2717f20a9d 100644 (file)
@@ -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.