From 0af370f63dfc4fa78b8fb09b41571fc1caa77a5f Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sun, 10 Aug 2014 02:09:36 +0000 Subject: 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(-) (limited to 'sbin') 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"); -- cgit v1.2.3