patch-1.3.75 linux/drivers/char/apm_bios.c
Next file: linux/drivers/char/console.c
Previous file: linux/drivers/char/ChangeLog
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Mar 16 20:17:27 1996
- Orig file:
v1.3.74/linux/drivers/char/apm_bios.c
- Orig date:
Sun Mar 10 09:49:47 1996
diff -u --recursive --new-file v1.3.74/linux/drivers/char/apm_bios.c linux/drivers/char/apm_bios.c
@@ -1127,6 +1127,8 @@
error = apm_enable_power_management();
if (error)
apm_error("enable power management", error);
+ if (error == APM_DISABLED)
+ return -1;
#endif
init_timer(&apm_timer);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this