[libvirt] [PATCH 1/7] virNetDevBandwidthPlug: Update function description

Michal Privoznik mprivozn at redhat.com
Tue Apr 14 16:59:31 UTC 2015


The comment is describing arguments passed to the function.
However, there's no @ifmac argument. In 955af4d4 it was replaced
with @ifmac_ptr.  Unfortunately, the comment wasn't updated.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 src/util/virnetdevbandwidth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virnetdevbandwidth.c b/src/util/virnetdevbandwidth.c
index 8041d52..d1c0f12 100644
--- a/src/util/virnetdevbandwidth.c
+++ b/src/util/virnetdevbandwidth.c
@@ -389,7 +389,7 @@ virNetDevBandwidthEqual(virNetDevBandwidthPtr a,
  * virNetDevBandwidthPlug:
  * @brname: name of the bridge
  * @net_bandwidth: QoS settings on @brname
- * @ifmac: MAC of interface
+ * @ifmac_ptr: MAC of interface
  * @bandwidth: QoS settings for interface
  * @id: unique ID (MUST be greater than 2)
  *
-- 
2.0.5




More information about the libvir-list mailing list