NetBSD Problem Report #41842
From www@NetBSD.org Fri Aug 7 11:51:43 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 4856163C270
for <gnats-bugs@gnats.netbsd.org>; Fri, 7 Aug 2009 11:51:43 +0000 (UTC)
Message-Id: <20090807115143.10F6E63BDF9@www.NetBSD.org>
Date: Fri, 7 Aug 2009 11:51:43 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Delete parenthesis in rtsock.c
X-Send-Pr-Version: www-1.0
>Number: 41842
>Category: kern
>Synopsis: Delete parenthesis in rtsock.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 07 11:55:00 +0000 2009
>Closed-Date: Sat Sep 12 18:55:39 +0000 2009
>Last-Modified: Sat Sep 12 18:55:39 +0000 2009
>Originator: Henning Petersen
>Release: current-NetBSD
>Organization:
>Environment:
>Description:
Delete parenthesis, found with programm cppcheck.
>How-To-Repeat:
>Fix:
RCS file: /cvsroot/src/sys/ufs/lfs/RCS file: /cvsroot/src/sysRCS file: /cvsroot/src/sys/net/rtsock.c,v
retrieving revision 1.125
diff -r1.125 rtsock.c
364c364
< info.rti_info[RTAX_DST])->sin_addr),
---
> info.rti_info[RTAX_DST])->sin_addr,
>Release-Note:
>Audit-Trail:
From: henning petersen <henning.petersen@t-online.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/41842: Delete parenthesis in rtsock.c
Date: Fri, 07 Aug 2009 14:57:04 +0200
gnats-admin@netbsd.org schrieb:
> Thank you very much for your problem report.
> It has the internal identification `kern/41842'.
> The individual assigned to look at your
> report is: kern-bug-people.
>
>
>> Category: kern
>> Responsible: kern-bug-people
>> Synopsis: Missing parenthesis in lfs_segment.c
>> Arrival-Date: Fri Aug 07 11:55:00 +0000 2009
>>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 4314 (20090807) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
>
diff -u -r1.125 rtsock.c
--- sys/net/rtsock.c 2 Apr 2009 21:02:06 -0000 1.125
+++ sys/net/rtsock.c 7 Aug 2009 12:17:40 -0000
@@ -361,7 +361,7 @@
"ifa_getifa %p ifa_seqno %p\n",
inet_ntoa(
(const struct sockaddr_in *)
- info.rti_info[RTAX_DST])->sin_addr),
+ info.rti_info[RTAX_DST])->sin_addr,
(void *)rtifa->ifa_getifa,
rtifa->ifa_seqno);
}
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4314 (20090807) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/41842 CVS commit: src/sys/net
Date: Sat, 12 Sep 2009 18:09:25 +0000
Module Name: src
Committed By: tsutsui
Date: Sat Sep 12 18:09:25 UTC 2009
Modified Files:
src/sys/net: rtsock.c
Log Message:
Make this compile with options RTSOCK_DEBUG.
Noticed by PR kern/41842, but fixed differently.
To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/sys/net/rtsock.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Sun, 13 Sep 2009 03:55:39 +0900
State-Changed-Why:
fixed.
>Unformatted:
[wiz 20090807: fixed subject]
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.