From: "Daniel P. Berrange" <berrange(a)redhat.com>
The second param of virNetlinkCommand should be
struct nlmsghdr, not unsigned char.
Signed-off-by: Daniel P. Berrange <berrange(a)redhat.com>
Pushed as a Win32 build breaker fix
---
src/util/virnetlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/virnetlink.c b/src/util/virnetlink.c
index af1985c..d340eda 100644
--- a/src/util/virnetlink.c
+++ b/src/util/virnetlink.c
@@ -752,7 +752,7 @@ virNetlinkShutdown(void)
}
int virNetlinkCommand(struct nl_msg *nl_msg ATTRIBUTE_UNUSED,
- unsigned char **respbuf ATTRIBUTE_UNUSED,
+ struct nlmsghdr **resp ATTRIBUTE_UNUSED,
unsigned int *respbuflen ATTRIBUTE_UNUSED,
uint32_t src_pid ATTRIBUTE_UNUSED,
uint32_t dst_pid ATTRIBUTE_UNUSED,
--
1.8.1.4
Show replies by date