projects
/
platform
/
upstream
/
xorg-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5040678
)
Bug #2141: Rework misleading warning message when APM support is
author
Adam Jackson
<ajax@nwnk.net>
Fri, 15 Apr 2005 00:18:58 +0000
(
00:18
+0000)
committer
Adam Jackson
<ajax@nwnk.net>
Fri, 15 Apr 2005 00:18:58 +0000
(
00:18
+0000)
unavailable.
hw/xfree86/os-support/linux/lnx_apm.c
patch
|
blob
|
history
diff --git
a/hw/xfree86/os-support/linux/lnx_apm.c
b/hw/xfree86/os-support/linux/lnx_apm.c
index
437f8ad
..
fae2e21
100644
(file)
--- 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