aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/linux/vmbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/linux/vmbus.c')
-rw-r--r--src/vlib/linux/vmbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vlib/linux/vmbus.c b/src/vlib/linux/vmbus.c
index d50b539910b..12813651d4c 100644
--- a/src/vlib/linux/vmbus.c
+++ b/src/vlib/linux/vmbus.c
@@ -284,9 +284,9 @@ vlib_vmbus_bind_to_uio (vlib_vmbus_addr_t * addr)
if (ifr.ifr_flags & IFF_UP)
{
- error = clib_error_return (0,
- "Skipping VMBUS device %U as host interface %s is up",
- format_vlib_vmbus_addr, addr, e->d_name);
+ error = clib_error_return (
+ 0, "Skipping VMBUS device %U as host interface %s is up",
+ format_vlib_vmbus_addr, addr, ifname);
close (fd);
goto done;
}