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
F152969760: D36739.id111176.diff
Sat, Apr 18, 9:51 AM
Unknown Object (File)
Fri, Apr 17, 11:38 AM
Unknown Object (File)
Tue, Apr 14, 2:59 PM
Unknown Object (File)
Sat, Apr 11, 12:02 PM
Unknown Object (File)
Sat, Apr 11, 10:54 AM
Unknown Object (File)
Thu, Apr 9, 10:22 AM
Unknown Object (File)
Wed, Apr 8, 8:47 PM
Unknown Object (File)
Sat, Apr 4, 5:13 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