]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
macvtap: fix variable in debugging output
authorStefan Berger <stefanb@us.ibm.com>
Tue, 1 Feb 2011 17:02:01 +0000 (12:02 -0500)
committerStefan Berger <stefanb@us.ibm.com>
Tue, 1 Feb 2011 17:02:01 +0000 (12:02 -0500)
This patch fixes a variable in the debugging output.

src/util/macvtap.c

index 019441cdd8b13665077334dbf886c304c2267a3a..09d7b782139e545eb1f2f9f79ececc4acf26d1e9 100644 (file)
@@ -1349,7 +1349,7 @@ doPortProfileOp8021Qbg(const char *ifname,
         break;
     default:
         macvtapError(VIR_ERR_INTERNAL_ERROR,
-                     _("operation type %d not supported"), op);
+                     _("operation type %d not supported"), virtPortOp);
         rc = 1;
         goto err_exit;
     }