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)
Sat, Mar 1, 8:56 AM
Unknown Object (File)
Thu, Feb 20, 7:32 AM
Unknown Object (File)
Mon, Feb 17, 8:28 AM
Unknown Object (File)
Feb 3 2025, 2:55 AM
Unknown Object (File)
Jan 27 2025, 4:39 PM
Unknown Object (File)
Jan 24 2025, 5:58 PM
Unknown Object (File)
Jan 24 2025, 5:41 PM
Unknown Object (File)
Jan 18 2025, 12: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.