From owner-cvs-sys Wed Jun 18 17:26:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA21664 for cvs-sys-outgoing; Wed, 18 Jun 1997 17:26:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA21621; Wed, 18 Jun 1997 17:25:16 -0700 (PDT) From: Garrett Wollman Received: (from wollman@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA10548; Wed, 18 Jun 1997 17:25:04 -0700 (PDT) Date: Wed, 18 Jun 1997 17:25:04 -0700 (PDT) Message-Id: <199706190025.RAA10548@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/apm apm.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 1997/06/18 17:25:04 PDT Modified files: sys/i386/apm apm.c Log: Fix crash when halting where APM was configured but not enabled by checking whether APM is active in apm_power_off() and returning if not. (The code was already written with the expectation that this function would return if it fails.) Revision Changes Path 1.59 +3 -1 src/sys/i386/apm/apm.c