提交 eef98128 编写于 作者: D Daniel P. Berrangé

Fixed virGetUNIXSocketPath stub on Win32

The _() macro was not terminated and an argument needs to be marked as
unused.
Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 5b5bff35
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册