1
0
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:
Lennart Poettering 2017-07-11 10:36:53 +02:00
parent 7b54715d19
commit b5fa4c7706

View File

@ -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