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)
Sun, Dec 22, 7:47 PM
Unknown Object (File)
Sun, Dec 15, 6:54 PM
Unknown Object (File)
Nov 25 2024, 4:41 AM
Unknown Object (File)
Nov 23 2024, 2:42 PM
Unknown Object (File)
Nov 14 2024, 12:57 AM
Unknown Object (File)
Nov 11 2024, 4:25 AM
Unknown Object (File)
Nov 7 2024, 11:52 AM
Unknown Object (File)
Nov 3 2024, 4:29 PM
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.