Bug 202300

Summary: usr/src/tests/sys/file/newfileops_on_fork_test.c:87: bad sanity check ?
Product: Base System Reporter: David Binderman <dcb314>
Component: miscAssignee: freebsd-bugs mailing list <bugs>
Status: Closed FIXED    
Severity: Affects Some People CC: avos
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description David Binderman 2015-08-13 17:18:06 UTC
[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) {
Comment 1 Andriy Voskoboinyk freebsd_committer 2019-02-07 14:24:17 UTC
Fixed in base r319059.