diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/securerandom.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/securerandom.rb b/lib/securerandom.rb index f550ce6615..99e54db1dd 100644 --- a/lib/securerandom.rb +++ b/lib/securerandom.rb @@ -80,7 +80,7 @@ module SecureRandom @has_urandom = true ret = f.read(n) if ret.length != n - raise NotImplementedError, "Unexpected partial read from random device: only #{ret.length} for #{n}" + raise NotImplementedError, "Unexpected partial read from random device: only #{ret.length} for #{n} bytes" end return ret } |