summaryrefslogtreecommitdiff
path: root/lib/dpctl.c
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@ovn.org>2017-12-06 22:03:18 -0800
committerJustin Pettit <jpettit@ovn.org>2017-12-07 11:04:39 -0800
commit0bd28b0bcd26ab33c296a26f447e49ea829fa274 (patch)
treef73e96f5de36f2c08183ea4882d0059294a3bd5a /lib/dpctl.c
parent07754b23ee5027508d64804d445e617b017cc2d1 (diff)
downloadopenvswitch-0bd28b0bcd26ab33c296a26f447e49ea829fa274.tar.gz
dpctl: Fix comment describing get_one_dp().
Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/dpctl.c')
-rw-r--r--lib/dpctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dpctl.c b/lib/dpctl.c
index 6520788aa..737f188ff 100644
--- a/lib/dpctl.c
+++ b/lib/dpctl.c
@@ -129,8 +129,8 @@ if_up(struct netdev *netdev)
}
/* Retrieve the name of the datapath if exactly one exists. The caller
- * is responsible for freeing the returned string. If there is not one
- * datapath, aborts with an error message. */
+ * is responsible for freeing the returned string. If a single datapath
+ * name cannot be determined, returns NULL. */
static char *
get_one_dp(struct dpctl_params *dpctl_p)
{