summaryrefslogtreecommitdiff
path: root/lib/unixctl.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-03-31 14:50:20 -0700
committerBen Pfaff <blp@nicira.com>2011-04-04 10:58:54 -0700
commitfe1e967e3bc6c04f773b150fbb358b2350d0ad8c (patch)
treee001b4fa8fe508337c9e6152fedab58d2dee834f /lib/unixctl.c
parent1c5a216a80ce40c6af79a8919c7f5a06d1b97a90 (diff)
downloadopenvswitch-fe1e967e3bc6c04f773b150fbb358b2350d0ad8c.tar.gz
Add a few more users for ovs_retval_to_string().
Diffstat (limited to 'lib/unixctl.c')
-rw-r--r--lib/unixctl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/unixctl.c b/lib/unixctl.c
index 6e0b19ff6..c333c54e9 100644
--- a/lib/unixctl.c
+++ b/lib/unixctl.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009, 2010 Nicira Networks.
+ * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -568,8 +568,7 @@ unixctl_client_transact(struct unixctl_client *client,
if (error) {
VLOG_WARN("error reading reply from %s: %s",
client->connect_path,
- (error == EOF ? "unexpected end of file"
- : strerror(error)));
+ ovs_retval_to_string(error));
goto error;
}