stdlib: Fix tst-getrandom memcmp call
commit7f2ddf7400bb959897a5fe58f7fc5fbe5e57cfae
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 24 Mar 2022 18:17:12 +0000 (24 15:17 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 31 Mar 2022 12:14:10 +0000 (31 09:14 -0300)
tree0aaeaf9fbb7483e5b302823d0fbc074052ccfdee
parent3ff447f7dfcb79740e30f6247c1d4d5344244a35
stdlib: Fix tst-getrandom memcmp call

The idea is to check if the up sizeof (buf) are equal, not only
the first byte.

Checked on x86_64-linux-gnu and i686-linux-gnu.
stdlib/tst-getrandom.c