Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2015 08:23:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200983] sbin/newfs_nandfs/newfs_nandfs.c:900: bad if test ?
Message-ID:  <bug-200983-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200983

            Bug ID: 200983
           Summary: sbin/newfs_nandfs/newfs_nandfs.c:900: bad if test ?
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dcb314@hotmail.com

/sbin/newfs_nandfs/newfs_nandfs.c:900]:
 (warning) Logical conjunction always evaluates to false: rsv_segment_percent < 
1 && rsv_segment_percent > 99.

   if ((rsv_segment_percent < 1) && (rsv_segment_percent > 99))

Maybe

   if ((rsv_segment_percent < 1) || (rsv_segment_percent > 99))

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200983-8>