diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-03-31 04:46:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-03-31 04:46:10 +0000 |
commit | a35cbd3fe4157d142777bae4103fef4e8262b0a8 (patch) | |
tree | 8339277610d128850e2667362d9c3ce6a4c97d85 | |
parent | f0cad710c541ecf3829ef6b586b8bbfa60fbf8a1 (diff) |
oldmask = sigprocmask(SIG_BLOCK, &mask, &oldmask);
is not valid code; found by lint
-rw-r--r-- | lib/libc/net/rcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c index d211f404a2b..e2b91994920 100644 --- a/lib/libc/net/rcmd.c +++ b/lib/libc/net/rcmd.c @@ -119,7 +119,7 @@ rcmd_af(char **ahost, int porta, const char *locuser, const char *remuser, refused = 0; sigemptyset(&mask); sigaddset(&mask, SIGURG); - oldmask = sigprocmask(SIG_BLOCK, &mask, &oldmask); + sigprocmask(SIG_BLOCK, &mask, &oldmask); for (timo = 1, lport = IPPORT_RESERVED - 1;;) { s = rresvport_af(&lport, r->ai_family); if (s < 0) { |