Page MenuHomeFreeBSD

libsa/arp.c: Change printf format string
ClosedPublic

Authored by mig_semihalf.com on Sep 26 2022, 11:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 21 2024, 5:27 PM
Unknown Object (File)
Jan 4 2024, 7:36 PM
Unknown Object (File)
Dec 20 2023, 4:59 AM
Unknown Object (File)
Nov 28 2023, 10:48 AM
Unknown Object (File)
Sep 21 2023, 7:18 PM
Unknown Object (File)
Aug 27 2023, 2:03 PM
Unknown Object (File)
Jul 7 2023, 10:33 AM
Unknown Object (File)
Jun 24 2023, 3:52 AM
Subscribers

Details

Summary

Change printf format string to avoid compilation termination when ARP_DEBUG macro is defined.

Test Plan

In stand/libsa/arp.c after all #include's and #define's add:
#define ARP_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

Event Timeline

This revision is now accepted and ready to land.Sep 26 2022, 11:50 PM

libsa/arp.c: Change printf format string

Previous revision was created with reversed diff. This
update introduces correct diff.

This revision now requires review to proceed.Sep 28 2022, 1:08 PM

ah, that suddenly makes more sense.

This revision is now accepted and ready to land.Sep 29 2022, 2:11 AM
This revision was automatically updated to reflect the committed changes.