From: guenther Date: Sun, 10 Aug 2014 02:09:35 +0000 (+0000) Subject: msts(4) appears to support TIOCSTSTAMP X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=560889b31bc2db03b39828deb6ede20c3ad34fdd;p=openbsd msts(4) appears to support TIOCSTSTAMP From Maurice Janssen (maurice (at) z74.net) --- 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");