]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Fix signature of dummy virNetlinkCommand stub
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 15 Apr 2013 15:59:36 +0000 (16:59 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 15 Apr 2013 16:35:30 +0000 (17:35 +0100)
The second param of virNetlinkCommand should be
struct nlmsghdr, not unsigned char.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/virnetlink.c

index af1985c496a7032e73a8801bf12bc453caa7e90b..d340eda39a108191cbc93c7cd254bc662a7bad61 100644 (file)
@@ -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,