mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-01 13:17:19 +08:00
hurd: Fix typo in msync
== has higher priority than &
This commit is contained in:
parent
3c8b9879ca
commit
e2930d8777
@ -47,7 +47,7 @@ msync (void *addr, size_t length, int flags)
|
||||
kern_return_t err;
|
||||
int cancel_oldtype;
|
||||
|
||||
if (flags & (MS_SYNC | MS_ASYNC) == (MS_SYNC | MS_ASYNC))
|
||||
if ((flags & (MS_SYNC | MS_ASYNC)) == (MS_SYNC | MS_ASYNC))
|
||||
return __hurd_fail (EINVAL);
|
||||
|
||||
while (cur < target)
|
||||
|
Loading…
Reference in New Issue
Block a user