diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-05-15 18:44:27 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-15 20:20:57 +0200 |
commit | 3835a9bd07778d87dea37fbf190f70883515e8fc (patch) | |
tree | e094973e46552335bb1ecaa9eaee04788df45b16 /fs | |
parent | [PATCH] tpm_register_hardware gcc 4.1 warning fix (diff) | |
download | linux-3835a9bd07778d87dea37fbf190f70883515e8fc.tar.xz linux-3835a9bd07778d87dea37fbf190f70883515e8fc.zip |
[PATCH] fs/compat.c: fix 'if (a |= b )' typo
Mentioned by Mark Armbrust somewhere on Usenet.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Ulrich Drepper <drepper@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/compat.c b/fs/compat.c index 970888aad843..01f39f87f372 100644 --- a/fs/compat.c +++ b/fs/compat.c @@ -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; |