Page MenuHomeFreeBSD

iscsictl: Return non-zero status on write failure.
ClosedPublic

Authored by yanhaowang on Aug 11 2023, 6:38 AM.
Tags
None
Referenced Files
F116018820: D41423.diff
Thu, May 1, 4:47 PM
Unknown Object (File)
Wed, Apr 23, 10:57 AM
Unknown Object (File)
Sat, Apr 19, 3:50 PM
Unknown Object (File)
Thu, Apr 17, 6:40 PM
Unknown Object (File)
Fri, Apr 11, 11:17 PM
Unknown Object (File)
Fri, Apr 11, 7:08 PM
Unknown Object (File)
Mar 31 2025, 7:47 PM
Unknown Object (File)
Feb 22 2025, 9:37 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 53186
Build 50077: arc lint + arc unit

Event Timeline

des requested changes to this revision.Aug 17 2023, 3:27 PM
des added inline comments.
usr.bin/iscsictl/iscsictl.c
714

These fprintf() calls should be replaced with xo_error().

This revision now requires changes to proceed.Aug 17 2023, 3:27 PM
  • Using xo_error instead of 'fprintf'.
  • Decide use number style here.
des added inline comments.
usr.bin/iscsictl/iscsictl.c
1059

Everything from here on down could be written as exit(!!failed);, but it's also fine as-is.

This revision is now accepted and ready to land.Aug 27 2023, 12:00 AM
This revision was automatically updated to reflect the committed changes.