Bug #2141: Rework misleading warning message when APM support is
authorAdam Jackson <ajax@nwnk.net>
Fri, 15 Apr 2005 00:18:58 +0000 (00:18 +0000)
committerAdam Jackson <ajax@nwnk.net>
Fri, 15 Apr 2005 00:18:58 +0000 (00:18 +0000)
    unavailable.

hw/xfree86/os-support/linux/lnx_apm.c

index 437f8ad..fae2e21 100644 (file)
@@ -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