Make errno error log more useful for getrandom()

Making errno error log more useful for getrandom() call. Adding if statement to
make difference between ENOSYS and other errors.

Fixes #24500

Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera@gmail.com>
This commit is contained in:
Fernando Fernandez Mancera
2017-12-05 00:17:09 +01:00
committed by Nick Mathewson
parent a5be2305e1
commit 313360e6e6
2 changed files with 14 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
o Code simplification and refactoring:
- Making more useful log messages for errno errors on getrandom() call.
Closes ticket 24500.