Changeset cd28c73 in rtems


Ignore:
Timestamp:
Jun 15, 2010, 1:35:53 PM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10
Children:
f5d125e
Parents:
98d8ba3
Message:

2010-06-15 Ralf Corsépius <ralf.corsepius@…>

  • libfs/src/rfs/rtems-rfs-block.c, libfs/src/rfs/rtems-rfs-buffer.c, libnetworking/nfs/bootp_subr.c: Misc. 64bit-compatibility fixes.
Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r98d8ba3 rcd28c73  
    112010-06-15      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libfs/src/rfs/rtems-rfs-block.c, libfs/src/rfs/rtems-rfs-buffer.c,
     4        libnetworking/nfs/bootp_subr.c: Misc. 64bit-compatibility fixes.
    35        * posix/include/rtems/posix/pthread.h: Remove stray comment.
    46        Work-around doxygen comment bug.
  • cpukit/libfs/src/rfs/rtems-rfs-block.c

    r98d8ba3 rcd28c73  
    3838#include "config.h"
    3939#endif
     40
     41#include <inttypes.h>
    4042
    4143#include <rtems/rfs/rtems-rfs-block.h>
     
    225227  {
    226228    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_FIND))
    227       printf ("rtems-rfs: block-find: invalid block in table:" \
    228               " block=%ld, indirect=%ld/%d\n", *result, block, offset);
     229      printf ("rtems-rfs: block-find: invalid block in table:"
     230              " block=%" PRId32 ", indirect=%" PRId32 "/%d\n", *result, block, offset);
    229231    *result = 0;
    230232    rc = EIO;
     
    395397    int b;
    396398    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))
    397       printf ("rtems-rfs: block-map-grow: upping: block-count=%ld\n",
     399      printf ("rtems-rfs: block-map-grow: upping: block-count=%" PRId32 "\n",
    398400              map->size.count);
    399401    for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)
     
    416418 
    417419  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))
    418     printf ("rtems-rfs: block-map-grow: entry: blocks=%zd count=%lu\n",
     420    printf ("rtems-rfs: block-map-grow: entry: blocks=%zd count=%" PRIu32 "\n",
    419421            blocks, map->size.count);
    420            
     422
    421423  if ((map->size.count + blocks) >= rtems_rfs_fs_max_block_map_blocks (fs))
    422424    return EFBIG;
     
    658660{
    659661  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))
    660     printf ("rtems-rfs: block-map-shrink: entry: blocks=%zd count=%lu\n",
     662    printf ("rtems-rfs: block-map-shrink: entry: blocks=%zd count=%" PRIu32 "\n",
    661663            blocks, map->size.count);
    662664           
  • cpukit/libfs/src/rfs/rtems-rfs-buffer.c

    r98d8ba3 rcd28c73  
    2121#endif
    2222
     23#include <inttypes.h>
    2324#include <errno.h>
    2425
     
    4546
    4647  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))
    47     printf ("rtems-rfs: buffer-scan: count=%lu, block=%lu: ", *count, block);
     48    printf ("rtems-rfs: buffer-scan: count=%" PRIu32 ", block=%" PRIu32 ": ", *count, block);
    4849
    4950  while (!rtems_chain_is_head (chain, node))
     
    106107
    107108  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))
    108     printf ("rtems-rfs: buffer-request: block=%lu\n", block);
     109    printf ("rtems-rfs: buffer-request: block=%" PRIu32 "\n", block);
    109110
    110111  /*
  • cpukit/libnetworking/nfs/bootp_subr.c

    r98d8ba3 rcd28c73  
    465465        {
    466466                uint32_t addr = ntohl(sin->sin_addr.s_addr);
    467         printf("BOOTP timeout for server %lu.%lu.%lu.%lu\n",
     467        printf("BOOTP timeout for server %"PRIu32".%"PRIu32".%"PRIu32".%"PRIu32"\n",
    468468               (addr >> 24) & 0xff, (addr >> 16) & 0xff,
    469469               (addr >> 8) & 0xff, addr & 0xff);
Note: See TracChangeset for help on using the changeset viewer.