Changeset f7f2eb5 in rtems


Ignore:
Timestamp:
May 29, 2012, 2:16:44 PM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
486f8b84, bb08c0c8
Parents:
4da3fef4
git-author:
Sebastian Huber <sebastian.huber@…> (05/29/12 14:16:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/29/12 14:18:44)
Message:

dosfs: Fix print format string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/dosfs/msdos_format.c

    r4da3fef4 rf7f2eb5  
    3434#include <stdio.h>
    3535#include <ctype.h>
     36#include <inttypes.h>
    3637
    3738#include <rtems/libio_.h>
     
    401402    total_size = fmt_params->bytes_per_sector * fmt_params->totl_sector_cnt;
    402403    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,
    403                          "bytes per sector: %d\ntotal sectors: %d\ntotal size: %lu\n",
     404                         "bytes per sector: %" PRIu32 "\ntotal sectors: %" PRIu32 "\ntotal size: %" PRIu64 "\n",
    404405                         fmt_params->bytes_per_sector, fmt_params->totl_sector_cnt, total_size);
    405406  }
Note: See TracChangeset for help on using the changeset viewer.