Subject: port-i386/13674: Possible typo in apm.c
To: None <gnats-bugs@gnats.netbsd.org>
From: seebs <seebs@ged.plethora.net>
List: netbsd-bugs
Date: 08/09/2001 18:36:49
>Number: 13674
>Category: port-i386
>Synopsis: possible typo in apm.c
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-i386-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 09 16:35:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: seebs
>Release: NetBSD 1.5.1
>Organization:
>Environment:
System: NetBSD ged.plethora.net 1.5X NetBSD 1.5X (GED) #2: Thu Aug 9 13:14:53 CDT 2001 seebs@ged.plethora.net:/usr/src/sys/arch/i386/compile/GED i386
>Description:
apm.c has
#define APMDEBUG_INFO 0x01
#define APMDEBUG_APMCALLS 0x02
#define APMDEBUG_EVENTS 0x04
#define APMDEBUG_PROBE 0x10
#define APMDEBUG_ATTACH 0x40
#define APMDEBUG_DEVICE 0x20
#define APMDEBUG_ANOM 0x40
in which APMDEBUG_ATTACH and APMDEBUG_ANOM are both 0x40. I
think ANOM should be 0x80, so it's different.
>How-To-Repeat:
UTSL.
>Fix:
?
*** /tmp/apm.c.old Thu Aug 9 18:36:21 2001
--- apm.c Thu Aug 9 18:34:03 2001
***************
*** 94,100 ****
#define APMDEBUG_PROBE 0x10
#define APMDEBUG_ATTACH 0x40
#define APMDEBUG_DEVICE 0x20
! #define APMDEBUG_ANOM 0x40
#ifdef APMDEBUG_VALUE
int apmdebug = APMDEBUG_VALUE;
--- 94,100 ----
#define APMDEBUG_PROBE 0x10
#define APMDEBUG_ATTACH 0x40
#define APMDEBUG_DEVICE 0x20
! #define APMDEBUG_ANOM 0x80
#ifdef APMDEBUG_VALUE
int apmdebug = APMDEBUG_VALUE;
>Release-Note:
>Audit-Trail:
>Unformatted: