Ignore:
Timestamp:
May 15, 2012, 8:06:18 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Children:
1c0263c
Parents:
d5d071d (diff), da154e14 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'upstream'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/readlink.c

    rd5d071d ra7d1992c  
    2525  const rtems_filesystem_location_info_t *currentloc =
    2626    rtems_filesystem_eval_path_start( &ctx, path, eval_flags );
    27   rtems_filesystem_node_types_t type =
    28     (*currentloc->ops->node_type_h)( currentloc );
     27  const rtems_filesystem_operations_table *ops = currentloc->mt_entry->ops;
     28  rtems_filesystem_node_types_t type = (*ops->node_type_h)( currentloc );
    2929
    3030  if ( type == RTEMS_FILESYSTEM_SYM_LINK ) {
    31     rv = (*currentloc->ops->readlink_h)( currentloc, buf, bufsize );
     31    rv = (*ops->readlink_h)( currentloc, buf, bufsize );
    3232  } else {
    3333    rtems_filesystem_eval_path_error( &ctx, EINVAL );
Note: See TracChangeset for help on using the changeset viewer.