From 50a1592770af82fabc5a1180c410f9f32ec4c5e9 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 4 Jun 2006 01:35:06 +0000 Subject: teach stty about NMEADISC --- bin/stty/print.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/stty/print.c b/bin/stty/print.c index 0cfed316de7..899301365bf 100644 --- a/bin/stty/print.c +++ b/bin/stty/print.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print.c,v 1.11 2003/06/11 23:42:12 deraadt Exp $ */ +/* $OpenBSD: print.c,v 1.12 2006/06/04 01:35:05 deraadt Exp $ */ /* $NetBSD: print.c,v 1.11 1996/05/07 18:20:10 jtc Exp $ */ /*- @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94"; #else -static char rcsid[] = "$OpenBSD: print.c,v 1.11 2003/06/11 23:42:12 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: print.c,v 1.12 2006/06/04 01:35:05 deraadt Exp $"; #endif #endif /* not lint */ @@ -77,6 +77,9 @@ print(struct termios *tp, struct winsize *wp, int ldisc, enum FMT fmt) case STRIPDISC: cnt += printf("strip disc; "); break; + case NMEADISC: + cnt += printf("nmea disc; "); + break; default: cnt += printf("#%d disc; ", ldisc); break; -- cgit v1.2.3