Skip to content

Commit

Permalink
mlibc: fix tcsetpgrp
Browse files Browse the repository at this point in the history
We should not be passing a pointer here.
  • Loading branch information
ElectrodeYT committed Oct 7, 2023
1 parent f5e1b11 commit 2fc7168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options/posix/generic/unistd-stubs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ pid_t tcgetpgrp(int fd) {
}

int tcsetpgrp(int fd, pid_t pgrp) {
return ioctl(fd, TIOCSPGRP, &pgrp);
return ioctl(fd, TIOCSPGRP, pgrp);
}

int truncate(const char *, off_t) {
Expand Down

0 comments on commit 2fc7168

Please sign in to comment.