2004-05-21 Till Strauman <strauman@slac.stanford.edu>

PR 626/networking
	* rtems/rtems_showifstat.c: Use unsigned char to avoid printing leading
	FFFFFF for byte values > 127.
This commit is contained in:
Joel Sherrill
2004-05-21 15:03:22 +00:00
parent ca6c741739
commit e2f50f9d6d
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2004-05-21 Till Strauman <strauman@slac.stanford.edu>
PR 626/networking
* rtems/rtems_showifstat.c: Use unsigned char to avoid printing leading
FFFFFF for byte values > 127.
2004-01-30 Wilfried Busalski <w.busalski@lancier-monitoring.de>
PR pppd/564

View File

@@ -55,7 +55,7 @@ rtems_bsdnet_show_if_stats (void)
case AF_LINK:
{
struct sockaddr_dl *sdl = (struct sockaddr_dl *)ifa->ifa_addr;
char *cp = LLADDR(sdl);
unsigned char *cp = LLADDR(sdl);
int i;
switch ( sdl->sdl_type ) {