mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
random-util: we are fine if ints are 16 bytes actually
Not that it matters IRL, but let's make this less surprising to read...
This commit is contained in:
parent
7b54715d19
commit
b5fa4c7706
@ -114,7 +114,7 @@ void initialize_srand(void) {
|
||||
|
||||
auxv = (void*) getauxval(AT_RANDOM);
|
||||
if (auxv) {
|
||||
assert_cc(sizeof(x) < 16);
|
||||
assert_cc(sizeof(x) <= 16);
|
||||
memcpy(&x, auxv, sizeof(x));
|
||||
} else
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user