From 560889b31bc2db03b39828deb6ede20c3ad34fdd Mon Sep 17 00:00:00 2001 From: guenther Date: Sun, 10 Aug 2014 02:09:35 +0000 Subject: [PATCH] msts(4) appears to support TIOCSTSTAMP From Maurice Janssen (maurice (at) z74.net) --- sbin/ldattach/ldattach.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sbin/ldattach/ldattach.c b/sbin/ldattach/ldattach.c index 8cc4d82f66b..7d10f7066b3 100644 --- a/sbin/ldattach/ldattach.c +++ b/sbin/ldattach/ldattach.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldattach.c,v 1.14 2009/10/31 02:53:11 ckuethe Exp $ */ +/* $OpenBSD: ldattach.c,v 1.15 2014/08/10 02:09:35 guenther Exp $ */ /* * Copyright (c) 2007, 2008 Marc Balmer @@ -272,6 +272,7 @@ main(int argc, char *argv[]) /* line discpline specific setup */ switch (ldisc) { case NMEADISC: + case MSTSDISC: case ENDRUNDISC: if (ioctl(fd, TIOCSTSTAMP, &tstamps) < 0) { warnx("TIOCSTSTAMP"); -- 2.20.1