diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2003-04-28 19:43:11 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2003-04-28 19:43:11 +0000 |
| commit | 2f7ed219b2d6368bedff6ab726a76d7f1c72bbaf (patch) | |
| tree | 552d25acc72b93e95bd48b3411b40a79a94b103c | |
| parent | 4b47a8153797b00878e50fe3ce25cff88558b408 (diff) | |
Notes
| -rw-r--r-- | sys/compat/linux/linux_signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_signal.c b/sys/compat/linux/linux_signal.c index 4eb92e467550..09b98a30e271 100644 --- a/sys/compat/linux/linux_signal.c +++ b/sys/compat/linux/linux_signal.c @@ -252,7 +252,7 @@ linux_do_sigprocmask(struct thread *td, int how, l_sigset_t *new, } else nmaskp = NULL; error = kern_sigprocmask(td, how, nmaskp, &omask, 0); - if (error != 0 && old != NULL) + if (error == 0 && old != NULL) bsd_to_linux_sigset(&omask, old); return (error); |
