From 090fd77e07b028c3775ce547db45d46459c39208 Mon Sep 17 00:00:00 2001 From: Joe Stringer Date: Tue, 18 Feb 2014 09:39:12 -0800 Subject: [PATCH] ofproto-provider: Update documentation. This wording was in ofproto.c, but missing from ofproto-provider.h. Signed-off-by: Joe Stringer Signed-off-by: Ben Pfaff --- ofproto/ofproto-provider.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ofproto/ofproto-provider.h b/ofproto/ofproto-provider.h index d05adbc6e..2c72fbcf6 100644 --- a/ofproto/ofproto-provider.h +++ b/ofproto/ofproto-provider.h @@ -937,8 +937,9 @@ struct ofproto_class { void (*port_reconfigured)(struct ofport *ofport, enum ofputil_port_config old_config); - /* Looks up a port named 'devname' in 'ofproto'. On success, initializes - * '*port' appropriately. + /* Looks up a port named 'devname' in 'ofproto'. On success, returns 0 and + * initializes '*port' appropriately. Otherwise, returns a positive errno + * value. * * The caller owns the data in 'port' and must free it with * ofproto_port_destroy() when it is no longer needed. */ -- 2.43.0