diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-12-12 21:24:46 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-12-12 21:24:46 +0000 |
commit | 04a0fbbcf4a012bbdf7fac45a32af7ce8252c966 (patch) | |
tree | 65720d06828006352023b5faa6f604bc7e0cc54d /term | |
parent | 946f42128b5b496452d711b9575b69457509ad9b (diff) |
Typos.
Diffstat (limited to 'term')
-rw-r--r-- | term/users.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/term/users.c b/term/users.c index 886d245d..b01efb35 100644 --- a/term/users.c +++ b/term/users.c @@ -176,7 +176,7 @@ static void pi_destroy_hook (struct trivfs_protid *cred) { if (cred->pi.class == pty_class) - return 0; + return; mutex_lock (&global_lock); if (cred->hook && !--((struct protid_hook *)cred->hook)->refcnt) @@ -205,7 +205,10 @@ static void po_destroy_hook (struct trivfs_peropen *po) { if (po->cntl == ptyctl) - return pty_po_destroy_hook (po); + { + pty_po_destroy_hook (po); + return; + } mutex_lock (&global_lock); nperopens--; |