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)
Mon, Jun 3, 1:08 AM
Unknown Object (File)
Tue, May 14, 4:20 AM
Unknown Object (File)
Apr 25 2024, 7:05 AM
Unknown Object (File)
Apr 25 2024, 5:35 AM
Unknown Object (File)
Apr 24 2024, 10:05 PM
Unknown Object (File)
Apr 24 2024, 7:28 AM
Unknown Object (File)
Dec 31 2023, 7:01 PM
Unknown Object (File)
Dec 23 2023, 2:15 AM
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 Passed
Unit
No Test Coverage
Build Status
Buildable 47557
Build 44444: arc lint + arc unit