]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Specify name of target interface with macvlan error
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 23 Nov 2012 16:34:10 +0000 (16:34 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 27 Nov 2012 17:02:22 +0000 (17:02 +0000)
When failing to create a macvlan interface, make sure the
error message contains the name of the host interface

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/virnetdevmacvlan.c

index bd26ba98e42a7e2f86928ad002d214efa05c49ae..d8e646ad935429e05fbe60d6917668e566fe6c5a 100644 (file)
@@ -176,8 +176,8 @@ virNetDevMacVLanCreate(const char *ifname,
 
         default:
             virReportSystemError(-err->error,
-                                 _("error creating %s type of interface"),
-                                 type);
+                                 _("error creating %s type of interface attach to %s"),
+                                 type, srcdev);
             goto cleanup;
         }
         break;