Ignore:
Timestamp:
03/13/23 14:47:32 (9 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
9bb2f59e
Parents:
2859e422
git-author:
Sebastian Huber <sebastian.huber@…> (03/13/23 14:47:32)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/14/23 07:00:21)
Message:

spsysinit01: Fix sem_open() call

The O_CREAT flag requires a mode and initial value as third and fourth
argument.

Close #4878.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spsysinit01/init.c

    r2859e422 r377eae4  
    909909  int rv;
    910910
    911   sem = sem_open("sem", O_CREAT | O_RDWR, S_IRWXU | S_IRWXG | S_IRWXO);
     911  sem = sem_open("sem", O_CREAT | O_RDWR, S_IRWXU | S_IRWXG | S_IRWXO, 0);
    912912  rtems_test_assert(sem != SEM_FAILED);
    913913
Note: See TracChangeset for help on using the changeset viewer.