From cfeeec98503557c1ec71fa1dedae8c4b90dd8b42 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 8 Apr 2019 01:58:03 -0400 Subject: __clone(): flag check: add missing parenthesis. --- src/thread/nt64/clone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/thread/nt64') diff --git a/src/thread/nt64/clone.c b/src/thread/nt64/clone.c index 6f11d17..002d709 100644 --- a/src/thread/nt64/clone.c +++ b/src/thread/nt64/clone.c @@ -63,7 +63,7 @@ hidden int __clone( pfn_clone = (__sys_clone *)(__syscall_vtbl[SYS_clone]); - if (flags == CLONE_VM|CLONE_VFORK|SIGCHLD) { + if (flags == (CLONE_VM|CLONE_VFORK|SIGCHLD)) { regs.sbase = 0; regs.slimit = 0; regs.sbottom = 0; -- cgit v1.2.3