Subject: kern/20314: Error in libsa/rarp.c
To: None <>
From: None <root@Krille.Update.UU.SE>
List: netbsd-bugs
Date: 02/12/2003 16:19:12
>Number:         20314
>Category:       kern
>Synopsis:       libsa/rarp.c error if RARP_DEBUG is defined.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 12 07:20:00 PST 2003
>Originator:     Johnny Billquist
>Release:        NetBSD 1.6N
System: NetBSD Krille.Update.UU.SE 1.6N NetBSD 1.6N (Krille) #51: Thu Feb 6 20:02:21 CET 2003 root@Krille.Update.UU.SE:/sys/arch/vax/compile/Krille vax
Architecture: vax
Machine: vax
If RARP_DEBUG is defined, compilation of libsa will fail because of type
error in a printf.
Define RARP_DEBUG and try compiling libsa.
Index: rarp.c
RCS file: /cvsroot/src/sys/lib/libsa/rarp.c,v
retrieving revision 1.20
diff -r1.20 rarp.c
< 			printf("bad len=%d\n", n);
> 			printf("bad len=%d\n", (int)n);