diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-06-04 01:35:06 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-06-04 01:35:06 +0000 |
commit | 50a1592770af82fabc5a1180c410f9f32ec4c5e9 (patch) | |
tree | 696889d2b2499738de62c57b5382e79483e7d1f7 /bin | |
parent | 4db861a6eaf8082b2b8e180cd3e1256725b7fd5f (diff) |
teach stty about NMEADISC
Diffstat (limited to 'bin')
-rw-r--r-- | bin/stty/print.c | 7 |
1 files changed, 5 insertions, 2 deletions
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; |