From 0f9ff459574cf5fb287fe6d71cb3bbe26e0bc626 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 29 Oct 2004 10:34:38 +0000 Subject: 2004-10-28 Ralf Corsepius * libcsupport/include/inttypes.h: #include * libcsupport/src/utsname.c: Don't include sptables.h. Include . Use PRId32 instead of "%d". --- cpukit/libcsupport/src/utsname.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/libcsupport/src/utsname.c') diff --git a/cpukit/libcsupport/src/utsname.c b/cpukit/libcsupport/src/utsname.c index cc114434bf..6ba6c196c0 100644 --- a/cpukit/libcsupport/src/utsname.c +++ b/cpukit/libcsupport/src/utsname.c @@ -15,7 +15,7 @@ #include #include -#include +#include #include @@ -41,7 +41,7 @@ int uname( strcpy( name->sysname, "RTEMS" ); - sprintf( name->nodename, "Node %d", _Objects_Local_node ); + sprintf( name->nodename, "Node %" PRId32, _Objects_Local_node ); strcpy( name->release, RTEMS_VERSION ); -- cgit v1.2.3