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, Feb 8, 10:59 PM
Unknown Object (File)
Sun, Feb 8, 1:42 PM
Unknown Object (File)
Sun, Feb 8, 1:03 PM
Unknown Object (File)
Sun, Feb 8, 12:12 PM
Unknown Object (File)
Sat, Feb 7, 8:24 PM
Unknown Object (File)
Fri, Jan 30, 5:50 PM
Unknown Object (File)
Jan 7 2026, 2:09 AM
Unknown Object (File)
Nov 19 2025, 8:18 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.