forked from pool/xorg-x11-server
12 lines
424 B
Diff
12 lines
424 B
Diff
|
--- hw/xfree86/os-support/linux/lnx_acpi.c
|
||
|
+++ hw/xfree86/os-support/linux/lnx_acpi.c
|
||
|
@@ -163,8 +163,6 @@ doLnxACPIOpen(void)
|
||
|
addr.sun_family = AF_UNIX;
|
||
|
strcpy(addr.sun_path, ACPI_SOCKET);
|
||
|
if ((r = connect(fd, (struct sockaddr*)&addr, sizeof(addr))) == -1) {
|
||
|
- xf86MsgVerb(X_WARNING,3,"Open ACPI failed (%s) (%s)\n", ACPI_SOCKET,
|
||
|
- strerror(errno));
|
||
|
shutdown(fd, 2);
|
||
|
close(fd);
|
||
|
return NULL;
|