Index: programs/Xserver/hw/xfree86/os-support/linux/lnx_apm.c =================================================================== RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_apm.c,v retrieving revision 1.5 diff -u -d -r1.5 lnx_apm.c --- programs/Xserver/hw/xfree86/os-support/linux/lnx_apm.c 20 Apr 2005 12:25:35 -0000 1.5 +++ programs/Xserver/hw/xfree86/os-support/linux/lnx_apm.c 25 Apr 2005 00:06:27 -0000 @@ -137,7 +137,8 @@ if ((fd = open( APM_DEVICE, O_RDWR )) > -1) { if (access( APM_PROC, R_OK ) || ((pfd = open( APM_PROC, O_RDONLY)) == -1)) { - xf86MsgVerb(X_INFO,3,"No APM support in BIOS or kernel\n"); + xf86MsgVerb(X_WARNING,3,"Cannot open APM (%s) (%s)\n", + APM_PROC, strerror(errno)); close(fd); return NULL; } else @@ -148,8 +149,7 @@ xf86MsgVerb(X_INFO,3,"Open APM successful\n"); return lnxCloseAPM; } - xf86MsgVerb(X_WARNING,3,"Open APM failed (%s) (%s)\n", APM_DEVICE, - strerror(errno)); + xf86MsgVerb(X_INFO,3,"No APM support in BIOS or kernel\n"); return NULL; }