Skip to content
Browse files

Ref #82 fixed the bug in my_mbind function.

  • Loading branch information...
1 parent ccdba3c commit 91ce66a0a8a895279d8aabed3303b43bb8351808 @xianyi committed Mar 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 common_linux.h
View
4 common_linux.h
@@ -76,8 +76,8 @@ static inline int my_mbind(void *addr, unsigned long len, int mode,
#endif
#else
//Fixed randomly SEGFAULT when nodemask==NULL with above Linux 2.6.34
- unsigned long null_nodemask=0;
- return syscall(SYS_mbind, addr, len, mode, &null_nodemask, maxnode, flags);
+// unsigned long null_nodemask=0;
+ return syscall(SYS_mbind, addr, len, mode, nodemask, maxnode, flags);
#endif
}

0 comments on commit 91ce66a

Please sign in to comment.
Something went wrong with that request. Please try again.