forked from Imagelibrary/rtems
Use PRI*32 to print uint32_t's.
This commit is contained in:
@@ -1302,7 +1302,7 @@ uti596_resetDaemon (void *arg)
|
|||||||
RTEMS_NO_TIMEOUT, &events);
|
RTEMS_NO_TIMEOUT, &events);
|
||||||
|
|
||||||
rtems_clock_get(RTEMS_CLOCK_GET_TOD, &tm_struct);
|
rtems_clock_get(RTEMS_CLOCK_GET_TOD, &tm_struct);
|
||||||
printf("reset daemon: Resetting NIC @ %d:%d:%d \n",
|
printf("reset daemon: Resetting NIC @ %" PRIu32 ":%" PRIu32 ":%" PRIu32 " \n",
|
||||||
tm_struct.hour, tm_struct.minute, tm_struct.second);
|
tm_struct.hour, tm_struct.minute, tm_struct.second);
|
||||||
|
|
||||||
sc->stats.nic_reset_count++;
|
sc->stats.nic_reset_count++;
|
||||||
|
|||||||
Reference in New Issue
Block a user