]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virnetdev: Use ifname in virNetDevGetLinkInfo
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 11 Jun 2014 11:05:17 +0000 (13:05 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 11 Jun 2014 11:05:17 +0000 (13:05 +0200)
commit3c43b6a7b2b05857bf74617b8227b22a41b51555
treeb8efd3c6be8bf37975e10ee2c92a279c58f09081
parent0311ef3d65b6462e405f325f5fdde78de0137005
virnetdev: Use ifname in virNetDevGetLinkInfo

If we're compiling on non-Linux platform, the virNetDevGetLinkInfo()
is a dummy function which barely logs debug message that getting link
info is not supported. However, while the debug message was prepared
for printing the interface name too, I actually forgot to pass the
variable which resulted in build error on platforms like mingw or
FreeBSD.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virnetdev.c