summaryrefslogtreecommitdiff
path: root/hurd/ctty-output.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/ctty-output.c')
-rw-r--r--hurd/ctty-output.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hurd/ctty-output.c b/hurd/ctty-output.c
index 12fdf78159..d77c35ad6f 100644
--- a/hurd/ctty-output.c
+++ b/hurd/ctty-output.c
@@ -1,5 +1,5 @@
/* _hurd_ctty_output -- Do an output RPC and generate SIGTTOU if necessary.
- Copyright (C) 1995-2018 Free Software Foundation, Inc.
+ Copyright (C) 1995-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
+ <https://www.gnu.org/licenses/>. */
#include <hurd.h>
#include <hurd/signal.h>
@@ -38,8 +38,8 @@ _hurd_ctty_output (io_t port, io_t ctty, error_t (*rpc) (io_t))
SIGTTOU. We redo this check at the top of the loop in case
the signal handler changed the state. */
__spin_lock (&ss->lock);
- if (__sigismember (&ss->blocked, SIGTTOU) ||
- ss->actions[SIGTTOU].sa_handler == SIG_IGN)
+ if (__sigismember (&ss->blocked, SIGTTOU)
+ || ss->actions[SIGTTOU].sa_handler == SIG_IGN)
err = EIO;
else
err = 0;