From: Jiri Denemark Date: Mon, 27 Mar 2017 17:43:31 +0000 (+0200) Subject: util: Fix build on FreeBSD X-Git-Tag: v3.2.0-rc1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bca66530bb5dc14a625b055cb4a93604c1b2d7a;p=thirdparty%2Flibvirt.git util: Fix build on FreeBSD Signed-off-by: Jiri Denemark --- diff --git a/src/util/virnetdev.c b/src/util/virnetdev.c index 598d1c61a8..486fe4cd18 100644 --- a/src/util/virnetdev.c +++ b/src/util/virnetdev.c @@ -316,7 +316,7 @@ virNetDevSetMACInternal(const char *ifname, ret = 0; cleanup: - VIR_DEBUG("SIOCSIFLLADDR %s MAC=%s - %s", ifname, mac + 1), + VIR_DEBUG("SIOCSIFLLADDR %s MAC=%s - %s", ifname, mac + 1, ret < 0 ? "Fail" : "Success"); VIR_FORCE_CLOSE(s);