NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/41841: Missing parenthesis in lfs_segment.c



The following reply was made to PR kern/41841; 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/41841: Missing parenthesis in lfs_segment.c
Date: Fri, 07 Aug 2009 14:52:19 +0200

 gnats-admin%netbsd.org@localhost schrieb:
 > Thank you very much for your problem report.
 > It has the internal identification `kern/41841'.
 > 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:50: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.213 lfs_segment.c
 --- sys/ufs/lfs/lfs_segment.c    2 Jun 2008 16:25:34 -0000    1.213
 +++ sys/ufs/lfs/lfs_segment.c    7 Aug 2009 12:17:44 -0000
 @@ -2150,7 +2150,7 @@
          for (byteoffset = 0; byteoffset < (*bpp)->b_bcount;
               byteoffset += fs->lfs_bsize) {
  #ifdef LFS_USE_B_INVAL
 -            if ((*bpp)->b_cflags & BC_INVAL) != 0 &&
 +            if (((*bpp)->b_cflags & BC_INVAL) != 0 &&
                  (*bpp)->b_iodone != NULL) {
                  if (copyin((void *)(*bpp)->b_saveaddr +
                         byteoffset, dp, el_size)) {
 
 
 
 __________ 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