advlock: general fixes

This commit is contained in:
Matheus
2026-06-29 11:33:03 -03:00
parent eb798d24b4
commit 17334c8533
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ syscallret_t syscall_flock(context_t *, int fd, int op_flag) {
.ret = -1
};
int op = op_flag &= ~ADVLOCK_NON_BLOCKING;
int op = op_flag & ~ADVLOCK_NON_BLOCKING;
switch (op) {
case ADVLOCK_UNLOCK:
case ADVLOCK_SHARED: