NetBSD Problem Report #15554
Received: (qmail 24335 invoked from network); 9 Feb 2002 22:34:32 -0000
Message-Id: <200202092234.g19MYP318245@dasher.warthog.com>
Date: Sat, 9 Feb 2002 16:34:25 -0600 (CST)
From: windsor@warthog.com
Reply-To: windsor@warthog.com
To: gnats-bugs@gnats.netbsd.org
Subject: pullup of syssrc/sys/kern/kern_descrip.c typo'd an array reference
X-Send-Pr-Version: 3.95
>Number: 15554
>Category: kern
>Synopsis: pullup of syssrc/sys/kern/kern_descrip.c typo'd an array reference
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: releng-1-5
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 09 22:35:00 +0000 2002
>Closed-Date: Thu Jun 06 16:07:28 +0000 2002
>Last-Modified: Wed May 13 13:11:14 +0000 2015
>Originator: windsor@warthog.com
>Release: NetBSD 1.5.3_ALPHA
>Organization:
Nose-Pickers Anonymous
>Environment:
System: NetBSD dasher 1.5.3_ALPHA NetBSD 1.5.3_ALPHA (DASHER) #37: Wed Jan 23 21:37:31 CST 2002 windsor@dasher:/usr/src/sys/arch/i386/compile/DASHER i386
Architecture: i386
Machine: i386
>Description:
When trying to build a kernel...
../../../../kern/kern_descrip.c: In function `sys_fcntl':
../../../../kern/kern_descrip.c:306: invalid type argument of `unary *'
>How-To-Repeat:
build a kernel from 1-5-branch
>Fix:
apply follow patch:
--- kern_descrip.c.FCS Sat Feb 9 16:28:00 2002
+++ kern_descrip.c Sat Feb 9 16:28:11 2002
@@ -303,7 +303,7 @@
}
error = (*fp->f_ops->fo_ioctl)
(fp, TIOCGPGRP, (caddr_t)&tmp, p);
- *retval = -*tmp;
+ *retval = -tmp;
break;
case F_SETOWN:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: he
State-Changed-When: Sat Feb 9 14:56:55 PST 2002
State-Changed-Why:
Patch applied, should build again now.
Please verify.
Responsible-Changed-From-To: kern-bug-people->releng-1-5
Responsible-Changed-By: he
Responsible-Changed-When: Sat Feb 16 02:16:01 PST 2002
Responsible-Changed-Why:
Releng-1-5 is dealing with this issue.
State-Changed-From-To: feedback->closed
State-Changed-By: he
State-Changed-When: Thu Jun 6 09:07:09 PDT 2002
State-Changed-Why:
Problem has been fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.