The branch main has been updated by kd:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=ee0d06faa0a5b0e551cac4cfcad68062cb3257c7

commit ee0d06faa0a5b0e551cac4cfcad68062cb3257c7
Author:     Michał Grzelak <[email protected]>
AuthorDate: 2022-09-28 10:36:53 +0000
Commit:     Kornel Dulęba <[email protected]>
CommitDate: 2022-09-29 10:51:14 +0000

    libsa/rarp.c: Change casted type and printf format
    
    Change the casted type and printf format string to avoid compilation
    failure when RARP_DEBUG macro is defined.
    
    Reviewed by:    imp
    Obtained from:  Semihalf
    Differential Revision: https://reviews.freebsd.org/D36738
---
 stand/libsa/rarp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/libsa/rarp.c b/stand/libsa/rarp.c
index 27123e793b99..72aa2650f15e 100644
--- a/stand/libsa/rarp.c
+++ b/stand/libsa/rarp.c
@@ -83,7 +83,7 @@ rarp_getipaddress(int sock)
        }
 #ifdef RARP_DEBUG
        if (debug)
-               printf("rarp: d=%x\n", (u_int)d);
+               printf("rarp: d=%lx\n", (long)d);
 #endif
 
        bzero((char*)&wbuf.data, sizeof(wbuf.data));

Reply via email to