summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2006-06-04 01:39:32 +0000
committerderaadt <deraadt@openbsd.org>2006-06-04 01:39:32 +0000
commita5d72d9143ccd3dd4205372b8c00c9c5c885cc21 (patch)
treefa07903bf218529ac9035e81e776477caa0bc9dc
parentteach stty about NMEADISC (diff)
downloadwireguard-openbsd-a5d72d9143ccd3dd4205372b8c00c9c5c885cc21.tar.xz
wireguard-openbsd-a5d72d9143ccd3dd4205372b8c00c9c5c885cc21.zip
teach this about NMEADISC too
-rw-r--r--usr.sbin/pstat/pstat.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index bcc4c816953..5fc9deca33d 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pstat.c,v 1.63 2006/04/18 17:50:51 deraadt Exp $ */
+/* $OpenBSD: pstat.c,v 1.64 2006/06/04 01:39:32 deraadt Exp $ */
/* $NetBSD: pstat.c,v 1.27 1996/10/23 22:50:06 cgd Exp $ */
/*-
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
from: static char sccsid[] = "@(#)pstat.c 8.9 (Berkeley) 2/16/94";
#else
-static char *rcsid = "$OpenBSD: pstat.c,v 1.63 2006/04/18 17:50:51 deraadt Exp $";
+static char *rcsid = "$OpenBSD: pstat.c,v 1.64 2006/06/04 01:39:32 deraadt Exp $";
#endif
#endif /* not lint */
@@ -868,6 +868,9 @@ ttyprt(struct itty *tp)
case STRIPDISC:
(void)printf("strip\n");
break;
+ case NMEADISC:
+ (void)printf("nmea\n");
+ break;
default:
(void)printf("%d\n", tp->t_line);
break;