Changeset da361aa in rtems


Ignore:
Timestamp:
Jun 22, 2010, 2:20:49 PM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
f5dc557
Parents:
0378b478
Message:

2010-06-22 Sebastian Huber <sebastian.huber@…>

  • libcsupport/src/mount.c: Fixed string assignment in mount entry allocation.
File:
1 edited

Legend:

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

    r0378b478 rda361aa  
    113113
    114114    strcpy( str, filesystemtype );
     115    mt_entry->type = str;
    115116    str += filesystemtype_size;
    116     mt_entry->type = str;
    117117
    118118    if ( source_or_null != NULL ) {
    119119      strcpy( str, source_or_null );
     120      mt_entry->dev = str;
    120121      str += source_size;
    121       mt_entry->dev = str;
    122122    }
    123123
Note: See TracChangeset for help on using the changeset viewer.