Page MenuHomeFreeBSD

libkldelf: use warnx instead of printf
ClosedPublic

Authored by khng on Oct 4 2024, 1:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 7, 2:09 AM
Unknown Object (File)
Nov 19 2025, 8:18 AM
Unknown Object (File)
Nov 19 2025, 7:33 AM
Unknown Object (File)
Nov 15 2025, 11:46 PM
Unknown Object (File)
Nov 11 2025, 3:16 AM
Unknown Object (File)
Nov 8 2025, 6:21 PM
Unknown Object (File)
Nov 6 2025, 12:17 PM
Unknown Object (File)
Nov 5 2025, 9:38 AM
Subscribers

Diff Detail

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

Event Timeline

khng requested review of this revision.Oct 4 2024, 1:11 AM
This revision is now accepted and ready to land.Oct 4 2024, 12:04 PM

warnx() appends a newline, so this isn't going to give the same output.

emaste requested changes to this revision.Oct 4 2024, 12:37 PM
This revision now requires changes to proceed.Oct 4 2024, 12:37 PM

Oh, yeah. The ones in ef_obj.c should be fine with the \ns removed.
ef_print_phdr is probably intended to go to stdout?

Fix per markj@'s comment. ef_print_phdr related part now is left unchanged for now.

This revision was not accepted when it landed; it landed in state Needs Review.Oct 8 2024, 4:29 AM
This revision was automatically updated to reflect the committed changes.