diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-21 13:32:15 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-21 13:32:15 +0200 |
commit | bfd5b9a0d34e4dad946c80fbffd0393ff9c0e987 (patch) | |
tree | afc4d3434227775753683b97a0aaae6b73dd745e /term/users.c | |
parent | 23b32a7beec41fd8c8eae20b221c1cb2b536f345 (diff) |
Fix S_tioctl_tiocsetd returning errors
* term/users.c (S_tioctl_tiocsetd): Properly return `err`.
Diffstat (limited to 'term/users.c')
-rw-r--r-- | term/users.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/term/users.c b/term/users.c index e51c1113..09df9ab8 100644 --- a/term/users.c +++ b/term/users.c @@ -1269,7 +1269,7 @@ S_tioctl_tiocsetd (io_t port, err = 0; ports_port_deref (cred); - return 0; + return err; } /* TIOCDRAIN -- Wait for output to drain */ |