Skip to content

Commit

Permalink
[PATCH] fs/compat.c: fix 'if (a |= b )' typo
Browse files Browse the repository at this point in the history
Mentioned by Mark Armbrust somewhere on Usenet.

Signed-off-by: Alexey Dobriyan <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Ulrich Drepper <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed May 15, 2006
1 parent bb53a76 commit 3835a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1913,7 +1913,7 @@ asmlinkage long compat_sys_ppoll(struct pollfd __user *ufds,
}

if (sigmask) {
if (sigsetsize |= sizeof(compat_sigset_t))
if (sigsetsize != sizeof(compat_sigset_t))
return -EINVAL;
if (copy_from_user(&ss32, sigmask, sizeof(ss32)))
return -EFAULT;
Expand Down

0 comments on commit 3835a9b

Please sign in to comment.