Page MenuHomeFreeBSD

libsa/rarp.c: Change casted type and printf format string
ClosedPublic

Authored by mig_semihalf.com on Sep 27 2022, 1:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 25, 6:00 AM
Unknown Object (File)
Wed, Jan 22, 3:39 PM
Unknown Object (File)
Dec 11 2024, 7:36 AM
Unknown Object (File)
Dec 8 2024, 7:38 AM
Unknown Object (File)
Nov 27 2024, 1:08 PM
Unknown Object (File)
Nov 15 2024, 3:37 PM
Unknown Object (File)
Nov 11 2024, 2:04 PM
Unknown Object (File)
Nov 11 2024, 12:28 PM
Subscribers

Details

Summary

Change the casted type and printf format string to avoid compilation
termination when RARP_DEBUG macro is defined. Reflect the printf in
libsa/udp.c.

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