Changeset 5ce776ec in rtems


Ignore:
Timestamp:
Mar 18, 2015, 3:40:11 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
5cd910b
Parents:
a6524b9
git-author:
Joel Sherrill <joel.sherrill@…> (03/18/15 15:40:11)
git-committer:
Joel Sherrill <joel.sherrill@…> (03/22/15 15:29:57)
Message:

cpukit/libmisc/shell/main_df.c: Eliminate printf() format warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/shell/main_df.c

    ra6524b9 r5ce776ec  
    8585  if (context->block_size > 0)
    8686  {
    87     printf("%-15s %10lu %9lu %11lu %9" PRIu64 "%% %14s\n",
     87    printf(
     88        "%-15s %10" PRIu64 " %9" PRIu64 " %11" PRIu64 " %9" PRIu64 "%% %14s\n",
    8889        mt_entry->dev == NULL ? "none" : mt_entry->dev,
    8990        (svfs.f_blocks * svfs.f_frsize + (context->block_size - 1)) / context->block_size,
    9091        ((svfs.f_blocks - svfs.f_bfree) * svfs.f_frsize + (context->block_size - 1)) / context->block_size,
    9192        (svfs.f_bfree * svfs.f_frsize + (context->block_size - 1)) / context->block_size,
    92         (uint64_t)((svfs.f_blocks - svfs.f_bfree) * 100 / svfs.f_blocks),
     93        ((svfs.f_blocks - svfs.f_bfree) * 100 / svfs.f_blocks),
    9394        mt_entry->target == NULL ? "none" : mt_entry->target);
    9495  }
Note: See TracChangeset for help on using the changeset viewer.