Subject: port-i386/2053: incorrect comment in sys_machdep.c
To: None <gnats-bugs@NetBSD.ORG>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: netbsd-bugs
Date: 02/08/1996 18:28:22
>Number: 2053
>Category: port-i386
>Synopsis: incorrect comment in sys_machdep.c
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 9 20:20:04 1996
>Last-Modified:
>Originator: John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release: 1.1
>Environment:
System: NetBSD pattern 1.1 NetBSD 1.1 (PATTERN) #0: Fri Nov 24 11:01:09 EST 1995 jtk@pattern:/u1/NetBSD-current/src/sys/arch/i386/compile/PATTERN i386
>Description:
sys/arch/i386/i386/sys_machdep.c has a think-o left over in a comment.
>How-To-Repeat:
read the code
>Fix:
===================================================================
RCS file: RCS/sys_machdep.c,v
retrieving revision 1.1.1.8
diff -c -r1.1.1.8 sys_machdep.c
*** sys_machdep.c 1996/02/08 23:24:21 1.1.1.8
--- sys_machdep.c 1996/02/08 23:25:38
***************
*** 301,307 ****
}
if (desc.sd.sd_p != 0) {
! /* Only user (ring-3) descriptors may be present. */
if (desc.sd.sd_dpl != SEL_UPL)
return (EACCES);
} else {
--- 301,307 ----
}
if (desc.sd.sd_p != 0) {
! /* Only user (ring-3) descriptors may be not present. */
if (desc.sd.sd_dpl != SEL_UPL)
return (EACCES);
} else {
>Audit-Trail:
>Unformatted: