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, Sep 16, 4:02 PM
Unknown Object (File)
Thu, Sep 5, 12:56 PM
Unknown Object (File)
Thu, Sep 5, 7:39 AM
Unknown Object (File)
Aug 18 2024, 4:04 AM
Unknown Object (File)
Aug 14 2024, 4:50 PM
Unknown Object (File)
Aug 14 2024, 2:29 AM
Unknown Object (File)
Jun 3 2024, 1:08 AM
Unknown Object (File)
May 14 2024, 4:20 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 Not Applicable
Unit
Tests Not Applicable