[Bug 202300] usr/src/tests/sys/file/newfileops_on_fork_test.c:87: bad sanity check ?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 13 17:18:06 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202300

            Bug ID: 202300
           Summary: usr/src/tests/sys/file/newfileops_on_fork_test.c:87:
                    bad sanity check ?
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: dcb314 at hotmail.com

[usr/src/tests/sys/file/newfileops_on_fork_test.c:87]: (style) Same expression
on both sides of '<'.

  if (ftruncate(listen_fd + 1, 0 < 0)) {

Maybe

  if (ftruncate(listen_fd + 1, 0) < 0) {

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


More information about the freebsd-bugs mailing list