Changeset a0d09107 in rtems


Ignore:
Timestamp:
Oct 20, 2017, 2:53:04 PM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
d85c94c0
Parents:
0e1ad7fa
git-author:
Sebastian Huber <sebastian.huber@…> (10/20/17 14:53:04)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/24/17 07:29:59)
Message:

posix: Do not touch msg priority in case of error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/mqueuerecvsupp.c

    r0e1ad7fa ra0d09107  
    108108  );
    109109
     110  if ( status != STATUS_SUCCESSFUL ) {
     111    rtems_set_errno_and_return_minus_one( _POSIX_Get_error( status ) );
     112  }
     113
    110114  if ( msg_prio != NULL ) {
    111115    *msg_prio = _POSIX_Message_queue_Priority_from_core(
     
    114118  }
    115119
    116   if ( status != STATUS_SUCCESSFUL ) {
    117     rtems_set_errno_and_return_minus_one( _POSIX_Get_error( status ) );
    118   }
    119 
    120120  return length_out;
    121121}
Note: See TracChangeset for help on using the changeset viewer.