From: Daniel P. Berrange Date: Fri, 23 Nov 2012 16:34:10 +0000 (+0000) Subject: Specify name of target interface with macvlan error X-Git-Tag: v0.10.2.2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49ed3cd1f60b8e54e2a6d0100f762bf49f2767b4;p=thirdparty%2Flibvirt.git Specify name of target interface with macvlan error 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 (cherry picked from commit e11daa2b602e69708d86ada8f7167bf68ee102cd) --- diff --git a/src/util/virnetdevmacvlan.c b/src/util/virnetdevmacvlan.c index 7208954be4..95b0a4e616 100644 --- a/src/util/virnetdevmacvlan.c +++ b/src/util/virnetdevmacvlan.c @@ -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;