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));