[libvirt] macvtap: fix variable in debugging output

Stefan Berger stefanb at linux.vnet.ibm.com
Tue Feb 1 15:03:38 UTC 2011


This patch fixes a variable in the debugging output.

Signed-off-by: Stefan Berger <stefanb at linux.vnet.ibm.com>

---
  src/util/macvtap.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Index: libvirt-acl/src/util/macvtap.c
===================================================================
--- libvirt-acl.orig/src/util/macvtap.c
+++ libvirt-acl/src/util/macvtap.c
@@ -1349,7 +1349,7 @@ doPortProfileOp8021Qbg(const char *ifnam
          break;
      default:
          macvtapError(VIR_ERR_INTERNAL_ERROR,
-                     _("operation type %d not supported"), op);
+                     _("operation type %d not supported"), virtPortOp);
          rc = 1;
          goto err_exit;
      }




More information about the libvir-list mailing list