diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-04-12 18:36:48 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-04-12 19:04:42 -0500 |
commit | ee361a3fabb1832ef080fceea07a2451c399c6e3 (patch) | |
tree | dbdf2455b0e405d1723deda24309ddcc719ec395 /clang/lib/Sema/SemaModule.cpp | |
parent | 203aff2df368f63532c0db4c5ab2879438654814 (diff) | |
download | llvm-ee361a3fabb1832ef080fceea07a2451c399c6e3.zip llvm-ee361a3fabb1832ef080fceea07a2451c399c6e3.tar.gz llvm-ee361a3fabb1832ef080fceea07a2451c399c6e3.tar.bz2 |
[LIBC] Fix `getrandom` success return value
`getrandom` should return the number of bytes successfully set on
success, not `0`.
Reviewed By: sivachandra, michaelrj
Differential Revision: https://reviews.llvm.org/D147981
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions