NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/41843: Missing parenthesis in iso.c
The following reply was made to PR kern/41843; it has been noted by GNATS.
From: henning petersen <henning.petersen%t-online.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/41843: Missing parenthesis in iso.c
Date: Fri, 07 Aug 2009 14:35:35 +0200
henning.petersen%t-online.de@localhost schrieb:
>> Number: 41843
>> Category: kern
>> Synopsis: Missing parenthesis in iso.c
>> Confidential: no
>> Severity: serious
>> Priority: medium
>> Responsible: kern-bug-people
>> State: open
>> Class: sw-bug
>> Submitter-Id: net
>> Arrival-Date: Fri Aug 07 11:55:00 +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/netiso/iso.c,v
> retrieving revision 1.56
> diff -r1.56 iso.c
> 736c736
> < &satosiso(addr)->siso_addr));
> ---
>
>> &satosiso(addr)->siso_addr);
>>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature
> database 4314 (20090807) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
>
Error should be diff -u
--- sys/netiso/iso.c 18 Apr 2009 14:58:06 -0000 1.56
+++ sys/netiso/iso.c 7 Aug 2009 12:17:41 -0000
@@ -733,7 +733,7 @@
printf(" af same, args to iso_eqtype:\n");
printf("0x%x ", satosiso(ifa->ifa_addr)->siso_addr);
printf(" 0x%x\n",
- &satosiso(addr)->siso_addr));
+ &satosiso(addr)->siso_addr);
}
#endif
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4314 (20090807) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
Home |
Main Index |
Thread Index |
Old Index