Page MenuHomeFreeBSD

libkldelf: use warnx instead of printf
ClosedPublic

Authored by khng on Oct 4 2024, 1:11 AM.
Tags
None
Referenced Files
F146985951: D46893.id144183.diff
Sat, Mar 7, 9:01 AM
F146902120: D46893.id144183.diff
Fri, Mar 6, 3:10 PM
Unknown Object (File)
Wed, Mar 4, 10:00 AM
Unknown Object (File)
Tue, Mar 3, 10:28 PM
Unknown Object (File)
Tue, Feb 24, 3:47 AM
Unknown Object (File)
Sun, Feb 8, 10:59 PM
Unknown Object (File)
Sun, Feb 8, 1:42 PM
Unknown Object (File)
Sun, Feb 8, 1:03 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.