diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-03-31 14:50:20 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-04-04 10:58:54 -0700 |
| commit | fe1e967e3bc6c04f773b150fbb358b2350d0ad8c (patch) | |
| tree | e001b4fa8fe508337c9e6152fedab58d2dee834f /lib/entropy.c | |
| parent | 1c5a216a80ce40c6af79a8919c7f5a06d1b97a90 (diff) | |
| download | openvswitch-fe1e967e3bc6c04f773b150fbb358b2350d0ad8c.tar.gz | |
Add a few more users for ovs_retval_to_string().
Diffstat (limited to 'lib/entropy.c')
| -rw-r--r-- | lib/entropy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/entropy.c b/lib/entropy.c index 8a6479bef..1f1af50a5 100644 --- 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; } |
