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
F107552328: D41423.diff
Wed, Jan 15, 7:33 PM
Unknown Object (File)
Thu, Jan 9, 2:44 PM
Unknown Object (File)
Oct 22 2024, 6:44 PM
Unknown Object (File)
Oct 22 2024, 6:44 PM
Unknown Object (File)
Oct 20 2024, 1:59 PM
Unknown Object (File)
Oct 20 2024, 1:53 PM
Unknown Object (File)
Oct 20 2024, 3:00 AM
Unknown Object (File)
Oct 18 2024, 1:15 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

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
1058

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.