From 04a0fbbcf4a012bbdf7fac45a32af7ce8252c966 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 12 Dec 1995 21:24:46 +0000 Subject: Typos. --- term/users.c | 7 +++++-- 1 file 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--; -- cgit v1.2.3