projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a few more users for ovs_retval_to_string().
[openvswitch]
/
lib
/
entropy.c
diff --git
a/lib/entropy.c
b/lib/entropy.c
index 8a6479bef2f50217bea1fa2bd1612cd730c814dd..1f1af50a5d9f5256e0bd62e6dda2b211c3529d25 100644
(file)
--- a/
lib/entropy.c
+++ b/
lib/entropy.c
@@
-47,8
+47,7
@@
get_entropy(void *buffer, size_t n)
close(fd);
if (error) {
- VLOG_ERR("%s: read error (%s)", urandom,
- error == EOF ? "unexpected end of file" : strerror(error));
+ VLOG_ERR("%s: read error (%s)", urandom, ovs_retval_to_string(error));
}
return error;
}