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
F156466864: D36739.id111176.diff
Wed, May 13, 9:18 PM
F156466857: D36739.id111045.diff
Wed, May 13, 9:18 PM
F156465911: D36739.diff
Wed, May 13, 9:09 PM
Unknown Object (File)
Sun, May 10, 4:02 AM
Unknown Object (File)
Sat, May 9, 4:43 AM
Unknown Object (File)
Sat, May 2, 9:53 PM
Unknown Object (File)
Mon, Apr 27, 9:15 AM
Unknown Object (File)
Tue, Apr 21, 12:00 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