Changeset e1786ee3 in rtems


Ignore:
Timestamp:
Dec 23, 1999, 10:05:25 PM (20 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d4548d1
Parents:
2116e33
Message:

+ Fixed errno response to match the POSIX manual.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/mqueueclose.c

    r2116e33 re1786ee3  
    4444  switch ( location ) {
    4545    case OBJECTS_ERROR:
    46       set_errno_and_return_minus_one( EINVAL );
     46      set_errno_and_return_minus_one( EBADF );
    4747    case OBJECTS_REMOTE:
    4848      _Thread_Dispatch();
  • cpukit/posix/src/mqueueclose.c

    r2116e33 re1786ee3  
    4444  switch ( location ) {
    4545    case OBJECTS_ERROR:
    46       set_errno_and_return_minus_one( EINVAL );
     46      set_errno_and_return_minus_one( EBADF );
    4747    case OBJECTS_REMOTE:
    4848      _Thread_Dispatch();
Note: See TracChangeset for help on using the changeset viewer.