]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fixed virGetUNIXSocketPath stub on Win32
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 31 Jan 2018 17:10:04 +0000 (17:10 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 31 Jan 2018 17:10:52 +0000 (17:10 +0000)
The _() macro was not terminated and an argument needs to be marked as
unused.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/util/virutil.c

index 8352e0f1f1ce71b59b2fb66e6653d76d4be02a58..c23fa8f92ea208248c6ad87971f18fb34bb975a8 100644 (file)
@@ -2014,10 +2014,10 @@ char *virGetUNIXSocketPath(int fd)
 
 #else /* HAVE_SYS_UN_H */
 
-char *virGetUNIXSocketPath(int fd)
+char *virGetUNIXSocketPath(int fd ATTRIBUTE_UNUSED)
 {
     virReportSystemError(ENOSYS, "%s",
-                         _("UNIX sockets not supported on this platform");
+                         _("UNIX sockets not supported on this platform"));
     return NULL;
 }