mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 01:04:26 +08:00
2004-05-21 Till Strauman <strauman@slac.stanford.edu>
PR 626/networking * libnetworking/rtems/rtems_showifstat.c: Use unsigned char to avoid printing leading FFFFFF for byte values > 127.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2004-05-21 Till Strauman <strauman@slac.stanford.edu>
|
||||
|
||||
PR 626/networking
|
||||
* libnetworking/rtems/rtems_showifstat.c: Use unsigned char to avoid
|
||||
printing leading FFFFFF for byte values > 127.
|
||||
|
||||
2004-05-06 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
PR 618/rtems
|
||||
|
||||
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user