Bug 202300 - usr/src/tests/sys/file/newfileops_on_fork_test.c:87: bad sanity check ?
Summary: usr/src/tests/sys/file/newfileops_on_fork_test.c:87: bad sanity check ?
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-13 17:18 UTC by David Binderman
Modified: 2019-02-07 14:24 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 freebsd_triage 2019-02-07 14:24:17 UTC
Fixed in base r319059.