summaryrefslogtreecommitdiff
path: root/hw/xfree86
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-04-15 00:18:58 +0000
committerAdam Jackson <ajax@nwnk.net>2005-04-15 00:18:58 +0000
commit7472fcfdd40e29cd2847e45d4bd2dd11ccc41ff5 (patch)
tree2552fd428fc367eafd8d8811a05faeeb78bda459 /hw/xfree86
parent504067819a4f1a8564dcacc278933f533618b666 (diff)
Bug #2141: Rework misleading warning message when APM support is
unavailable.
Diffstat (limited to 'hw/xfree86')
-rw-r--r--hw/xfree86/os-support/linux/lnx_apm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/xfree86/os-support/linux/lnx_apm.c b/hw/xfree86/os-support/linux/lnx_apm.c
index 437f8adf1..fae2e2108 100644
--- a/hw/xfree86/os-support/linux/lnx_apm.c
+++ b/hw/xfree86/os-support/linux/lnx_apm.c
@@ -137,8 +137,7 @@ xf86OSPMOpen(void)
if ((fd = open( APM_DEVICE, O_RDWR )) > -1) {
if (access( APM_PROC, R_OK ) ||
((pfd = open( APM_PROC, O_RDONLY)) == -1)) {
- xf86MsgVerb(X_WARNING,3,"Cannot open APM (%s) (%s)\n",
- APM_PROC, strerror(errno));
+ xf86MsgVerb(X_INFO,3,"No APM support in BIOS or kernel\n");
close(fd);
return NULL;
} else