Skip to content

Commit

Permalink
Update sem_open in client
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusCDE committed Dec 23, 2021
1 parent 6f578a0 commit c86e35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ int ioctl(int fd, unsigned long request, char *ptr) {

MSGQ.send(update);

sem_t *sem = sem_open(update.sem_name, O_CREAT);
sem_t *sem = sem_open(update.sem_name, O_CREAT, 0644, 0);
struct timespec timeout;
if (clock_gettime(CLOCK_REALTIME, &timeout) == -1) {
// Probably unnecessary fallback
Expand Down

0 comments on commit c86e35f

Please sign in to comment.