Changeset 36338fb in rtems


Ignore:
Timestamp:
03/07/17 12:41:37 (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
9cd20cd
Parents:
088acbb0
git-author:
Sebastian Huber <sebastian.huber@…> (03/07/17 12:41:37)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/07/17 12:42:21)
Message:

monitor: Do not zero sema id and name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/monitor/mon-sema.c

    r088acbb0 r36338fb  
    2222    Thread_Control *owner;
    2323
    24     memset(canonical_sema, 0, sizeof(*canonical_sema));
     24    canonical_sema->attribute = 0;
     25    canonical_sema->priority_ceiling = 0;
     26    canonical_sema->max_count = 0;
     27    canonical_sema->cur_count = 0;
     28    canonical_sema->holder_id = 0;
    2529
    2630#if defined(RTEMS_MULTIPROCESSING)
Note: See TracChangeset for help on using the changeset viewer.