summaryrefslogtreecommitdiffhomepage
path: root/src/thread/nt64
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-04-08 01:58:03 -0400
committermidipix <writeonce@midipix.org>2019-04-08 01:58:03 -0400
commitcfeeec98503557c1ec71fa1dedae8c4b90dd8b42 (patch)
tree087b4fcf0305c09b8d2222c638475015c76c3858 /src/thread/nt64
parent9912f3a537d96b41ae2b76d90215971e39f24a7e (diff)
downloadmmglue-cfeeec98503557c1ec71fa1dedae8c4b90dd8b42.tar.bz2
mmglue-cfeeec98503557c1ec71fa1dedae8c4b90dd8b42.tar.xz
__clone(): flag check: add missing parenthesis.
Diffstat (limited to 'src/thread/nt64')
-rw-r--r--src/thread/nt64/clone.c2
1 files changed, 1 insertions, 1 deletions
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;