Changeset 7bde91b in rtems
- Timestamp:
- 01/10/19 08:05:49 (5 years ago)
- Branches:
- 5, master
- Children:
- 8eaf136d
- Parents:
- 3a5c71de
- git-author:
- Sebastian Huber <sebastian.huber@…> (01/10/19 08:05:49)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (01/10/19 08:06:56)
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/include/rtems/inttypes.h
r3a5c71de r7bde91b 128 128 #define PRIxrtems_signal_set PRIx32 129 129 130 /* newlib's ino_t is a typedef to "unsigned long" */ 131 #define PRIxino_t "lx" 130 /* newlib's ino_t is a typedef to __uint64_t */ 131 #define PRIuino_t PRIu64 132 133 /* newlib's ino_t is a typedef to __uint64_t */ 134 #define PRIxino_t PRIx64 132 135 133 136 /* ioctl_command_t */ -
cpukit/libfs/src/rfs/rtems-rfs-dir.c
r3a5c71de r7bde91b 623 623 624 624 if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ)) 625 printf ("rtems-rfs: dir-read: found off:%" PRIooff_t " ino:%ld name=%s\n", 625 printf ("rtems-rfs: dir-read: found off:%" PRIooff_t 626 " ino:%" PRIuino_t " name=%s\n", 626 627 dirent->d_off, dirent->d_ino, dirent->d_name); 627 628 break; -
cpukit/libmisc/shell/main_rm.c
r3a5c71de r7bde91b 49 49 50 50 #include <rtems.h> 51 #include <rtems/inttypes.h> 51 52 #include <rtems/shell.h> 52 53 #include <rtems/shellconfig.h> … … 494 495 return (1); 495 496 if (sbp->st_nlink > 1 && !fflag) { 496 warnx("%s (inode %lu): not overwritten due to multiple links", 497 file, sbp->st_ino); 497 warnx("%s (inode %" PRIuino_t 498 "): not overwritten due to multiple links", file, 499 sbp->st_ino); 498 500 return (0); 499 501 } -
cpukit/libmisc/shell/print-ls.c
r3a5c71de r7bde91b 51 51 52 52 #include <rtems.h> 53 #include <rtems/inttypes.h> 53 54 #include <rtems/libio.h> 54 55 … … 136 137 sp = p->fts_statp; 137 138 if (f_inode) 138 (void)printf("%*lu ", dp->s_inode, sp->st_ino); 139 (void)printf("%*" PRIuino_t " ", dp->s_inode, 140 sp->st_ino); 139 141 if (f_size && !f_humanize) { 140 142 (void)printf("%*llu ", dp->s_block, … … 386 388 chcnt = 0; 387 389 if (f_inode) 388 chcnt += printf("%* lu", inodefield, sp->st_ino);390 chcnt += printf("%*" PRIuino_t " ", inodefield, sp->st_ino); 389 391 if (f_size) { 390 392 #if RTEMS_REMOVED -
testsuites/psxtests/psxreaddir/test.c
r3a5c71de r7bde91b 81 81 82 82 while (d) { 83 printf( "%-20s %8 ld%8" PRIdoff_t " %6d 0x%04x\n",83 printf( "%-20s %8" PRIuino_t " %8" PRIdoff_t " %6d 0x%04x\n", 84 84 d->d_name, d->d_ino, d->d_off, d->d_reclen, d->d_type ); 85 85 d = readdir(directory);
Note: See TracChangeset
for help on using the changeset viewer.