we know it is called rpclose() so call it directly.

This commit is contained in:
Poul-Henning Kamp 2005-10-16 20:35:05 +00:00
parent 733634738e
commit c530c970bc

View File

@ -699,7 +699,7 @@ static void rp_handle_port(struct rp_port *rp)
if((tp->t_state & TS_CARR_ON)) { if((tp->t_state & TS_CARR_ON)) {
(void)ttyld_modem(tp, 0); (void)ttyld_modem(tp, 0);
if(ttyld_modem(tp, 0) == 0) { if(ttyld_modem(tp, 0) == 0) {
tp->t_close(tp); rpclose(tp);
} }
} }
} }