Page MenuHomeFreeBSD

libsa/rarp.c: Change printf format string
ClosedPublic

Authored by mig_semihalf.com on Sep 27 2022, 1:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 17, 11:50 PM
Unknown Object (File)
Tue, Mar 17, 12:33 PM
Unknown Object (File)
Feb 22 2026, 11:14 AM
Unknown Object (File)
Feb 21 2026, 10:55 AM
Unknown Object (File)
Feb 20 2026, 4:52 PM
Unknown Object (File)
Feb 16 2026, 7:24 PM
Unknown Object (File)
Feb 8 2026, 4:08 AM
Unknown Object (File)
Feb 7 2026, 8:14 PM
Subscribers

Details

Summary

Change printf format string to avoid compilation termination when
RARP_DEBUG macro is defined.

Test Plan

In stand/libsa/rarp.c after all #include's add:
#define RARP_DEBUG
temporary directory to hold compilation files:
mkdir -p $HOME/obj
set appropriate environmental variables, e.g. ARCH=arm64, TARGET_ARCH=aarch64, MAKEOBJDIRPREFIX=$HOME/obj.
In stand/libsa:
sudo -E make buildenv
make
compliation ends with error.

Diff Detail

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