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
Unknown Object (File)
Sat, Feb 14, 6:39 PM
Unknown Object (File)
Wed, Feb 11, 9:56 AM
Unknown Object (File)
Mon, Feb 9, 11:31 AM
Unknown Object (File)
Wed, Feb 4, 8:32 AM
Unknown Object (File)
Sat, Jan 31, 5:44 AM
Unknown Object (File)
Sat, Jan 31, 3:10 AM
Unknown Object (File)
Fri, Jan 30, 9:36 AM
Unknown Object (File)
Dec 21 2025, 6:52 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.