Skip to content

Commit

Permalink
bsd_arandom: fix typo in comment (#260)
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Klauser <[email protected]>
  • Loading branch information
tklauser authored Apr 22, 2022
1 parent 2d65a40 commit 9e2c896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bsd_arandom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn kern_arnd(buf: &mut [u8]) -> libc::ssize_t {
}

pub fn getrandom_inner(dest: &mut [u8]) -> Result<(), Error> {
// getrandom(2) was introduces in FreeBSD 12.0 and NetBsd 10.0
// getrandom(2) was introduced in FreeBSD 12.0 and NetBSD 10.0
#[cfg(target_os = "freebsd")]
{
use crate::util_libc::Weak;
Expand Down

0 comments on commit 9e2c896

Please sign in to comment.