From 7472fcfdd40e29cd2847e45d4bd2dd11ccc41ff5 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 15 Apr 2005 00:18:58 +0000 Subject: [PATCH] Bug #2141: Rework misleading warning message when APM support is unavailable. --- hw/xfree86/os-support/linux/lnx_apm.c | 3 +-- 1 file changed, 1 insertion(+), 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