Subject: bin/32629: Type errors in sbin/route/route.c
To: None <firstname.lastname@example.org, email@example.com>
From: None <firstname.lastname@example.org>
Date: 01/25/2006 16:05:00
>Synopsis: Type errors in sbin/route/route.c
>Arrival-Date: Wed Jan 25 16:05:00 +0000 2006
>Originator: Yves-Emmanuel JUTARD
custom environment : recompiled from /src, only some parts of NetBSD are used (TCP/IP stack and some parts of the kernel)
In file sbin/route/route.c,v 1.75
- l. 102, function 'bprintf' is declared with its second arg being 'u_char *'
- this function is subsequently called several time, each time with a second arg of type char
Since char and u_char are not the same, my compiler refuse it.
Compile this file with some type checking activated.
function 'bprintf' should be declared and defined taking a char* as a second arg.
As far as I have seen, no further modification is needed in function 'bprintf'.