summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-08-10 02:09:36 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-08-10 02:09:36 +0000
commit0af370f63dfc4fa78b8fb09b41571fc1caa77a5f (patch)
tree80cc6e2f9d01acaabb1f44f4c0d48f2fe6ab376a /sbin
parentdcb2a2e0469000f06328fa53d649411460a99873 (diff)
msts(4) appears to support TIOCSTSTAMP
From Maurice Janssen (maurice (at) z74.net)
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ldattach/ldattach.c3
1 files changed, 2 insertions, 1 deletions
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 <mbalmer@openbsd.org>
@@ -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");