Changeset d6c5a97 in rtems for testsuites


Ignore:
Timestamp:
Nov 29, 2017, 4:30:43 PM (2 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
885bbd61
Parents:
ab304f4
git-author:
Joel Sherrill <joel@…> (11/29/17 16:30:43)
git-committer:
Joel Sherrill <joel@…> (11/29/17 19:03:40)
Message:

block06/init.c: Fix printf() format warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/block06/init.c

    rab304f4 rd6c5a97  
    870870  for (i = 0; (i < num) && passed; i++)
    871871  {
    872     printf ("%s: rtems_bdbuf_read[%d]: ", tc->name, i);
     872    printf ("%s: rtems_bdbuf_read[%zd]: ", tc->name, i);
    873873    sc = rtems_bdbuf_read (tc->dd, i, &bd);
    874874    if (!bdbuf_test_print_sc (sc, true))
     
    903903      for (i = 1; (i < (num / 2)) && passed; i++)
    904904      {
    905         printf ("%s: rtems_bdbuf_release_modified[%d]: " \
     905        printf ("%s: rtems_bdbuf_release_modified[%zd]: " \
    906906                           "unblocks task 1\n", tc->name, i);
    907907        bd = (rtems_bdbuf_buffer*) rtems_chain_get (&buffers);
    908908        sc = rtems_bdbuf_release_modified (bd);
    909         printf ("%s: rtems_bdbuf_release_modified[%d]: ",
    910                            tc->name, i);
     909        printf ("%s: rtems_bdbuf_release_modified[%zd]: ", tc->name, i);
    911910        passed = bdbuf_test_print_sc (sc, true);
    912911        if (!passed)
     
    926925          for (i = 0; (i < (num / 2)) && passed; i++)
    927926          {
    928             printf ("%s: rtems_bdbuf_release_modified[%d]: ",
     927            printf ("%s: rtems_bdbuf_release_modified[%zd]: ",
    929928                               tc->name, i + (num / 2));
    930929            bd = (rtems_bdbuf_buffer*) rtems_chain_get (&buffers);
Note: See TracChangeset for help on using the changeset viewer.