From: Tobias Stoeckmann Date: Sat, 28 Mar 2026 15:39:58 +0000 (+0100) Subject: randutils: Move comment to correct place X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37bd4fe626c3273e28abb0f0b2102c9ce3384a61;p=thirdparty%2Futil-linux.git randutils: Move comment to correct place The comment is only valid if compiled with getrandom support. Signed-off-by: Tobias Stoeckmann --- diff --git a/lib/randutils.c b/lib/randutils.c index ae6ee27ad..a17482856 100644 --- a/lib/randutils.c +++ b/lib/randutils.c @@ -131,12 +131,12 @@ ul_random_src_t ul_random_get_bytes(void *buf, size_t nbytes) return UL_RAND_GETRANDOM; if (errno == ENOSYS) -#endif /* * We've been built against headers that support getrandom, but the * running kernel does not. Fallback to reading from /dev/{u,}random * as before */ +#endif { int fd = random_get_fd(&src);