From e317d0527a2e9963eb4d77f7416c9714f02efcfd Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 27 Apr 2006 19:43:03 +0000 Subject: 2 lines of code to support tty timestamps --- sys/arch/sparc64/dev/z8530tty.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/arch/sparc64/dev') diff --git a/sys/arch/sparc64/dev/z8530tty.c b/sys/arch/sparc64/dev/z8530tty.c index 52fc7bcc412..3a4ba6ffb9b 100644 --- a/sys/arch/sparc64/dev/z8530tty.c +++ b/sys/arch/sparc64/dev/z8530tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: z8530tty.c,v 1.10 2005/06/06 01:08:47 miod Exp $ */ +/* $OpenBSD: z8530tty.c,v 1.11 2006/04/27 19:43:02 deraadt Exp $ */ /* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */ /*- @@ -1358,6 +1358,10 @@ zstty_stint(cs, force) delta = rr0 ^ cs->cs_rr0; else delta = cs->cs_rr0_mask; + + ttytstamp(tp, cs->cs_rr0 & ZSRR0_CTS, rr0 & ZSRR0_CTS, + cs->cs_rr0 & ZSRR0_DCD, rr0 & ZSRR0_DCD); + cs->cs_rr0 = rr0; if (ISSET(delta, cs->cs_rr0_mask)) { -- cgit v1.2.3