mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-08 08:33:19 +00:00
include and use inttypes.h.
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
#include <rtems/error.h>
|
#include <rtems/error.h>
|
||||||
#include <rtems/assoc.h>
|
#include <rtems/assoc.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@@ -134,7 +134,7 @@ static int rtems_verror(
|
|||||||
local_errno = errno;
|
local_errno = errno;
|
||||||
|
|
||||||
if (_System_state_Is_multiprocessing)
|
if (_System_state_Is_multiprocessing)
|
||||||
fprintf(stderr, "[%d] ", _Configuration_MP_table->node);
|
fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
|
||||||
|
|
||||||
if (rtems_progname && *rtems_progname)
|
if (rtems_progname && *rtems_progname)
|
||||||
chars_written += fprintf(stderr, "%s: ", rtems_progname);
|
chars_written += fprintf(stderr, "%s: ", rtems_progname);
|
||||||
|
|||||||
Reference in New Issue
Block a user