Inode inttypes.h constants not updated when ino_t changed to 64-bit

Joel Sherrill joel at
Wed Jan 9 19:30:02 UTC 2019


I think the subject covers it.

../../../../../../rtems/c/src/../../testsuites/psxtests/psxstat/test.c: In
function 'stat_a_file_helper':
warning: format '%lx' expects argument of type 'long unsigned int', but
argument 2 has type 'ino_t {aka long long unsigned int}' [-Wformat=]
     printf(  "...st_ino     %" PRIxino_t "\n", statbuf.st_ino );
              ^~~~~~~~~~~~~~~~~                 ~~~~~~~~~~~~~~
In file included from
note: format string is defined here
 #define PRIxino_t "lx"

A lot of warnings were introduced when this change was made which were not
addressed at the time of changing the type.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the devel mailing list