summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-18 05:51:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-18 05:51:44 +0000
commit503752b14c2d395b09b63d6611110afa35ff9c61 (patch)
tree77790aaeb41a5035a4a2e84286ca560d0576960c
parent0751bc3fad795d49fe844afe9b7c2a67d43b149f (diff)
random.c: comment [ci skip]
* random.c (fill_random_bytes_urandom): fix comment typos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--random.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/random.c b/random.c
index d8b3c7246e..55a6a6fc27 100644
--- a/random.c
+++ b/random.c
@@ -456,9 +456,9 @@ static int
fill_random_bytes_urandom(void *seed, size_t size)
{
/*
- O_NONBLOCK and O_NOCTTY is meaningless if /dev/urandom correctly point
- to urandom device. But it protect from several strange hazard if
- /dev/urandom is not urandom device.
+ O_NONBLOCK and O_NOCTTY is meaningless if /dev/urandom correctly points
+ to a urandom device. But it protects from several strange hazard if
+ /dev/urandom is not a urandom device.
*/
int fd = rb_cloexec_open("/dev/urandom",
# ifdef O_NONBLOCK