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)
Sat, Oct 11, 3:14 AM
Unknown Object (File)
Thu, Oct 9, 5:35 AM
Unknown Object (File)
Wed, Oct 8, 11:54 PM
Unknown Object (File)
Thu, Oct 2, 6:47 AM
Unknown Object (File)
Sat, Sep 27, 2:09 AM
Unknown Object (File)
Fri, Sep 26, 4:19 AM
Unknown Object (File)
Sep 14 2025, 1:16 PM
Unknown Object (File)
Sep 3 2025, 4:29 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