diff options
author | 2006-06-04 01:35:05 +0000 | |
---|---|---|
committer | 2006-06-04 01:35:05 +0000 | |
commit | fe8f25af67aa117530a16ad2f64a157d74e7fea0 (patch) | |
tree | 7aa1223d6a3a47c1145eb18e45af6d8bfb49699a | |
parent | print time offsets much nicer (diff) | |
download | wireguard-openbsd-fe8f25af67aa117530a16ad2f64a157d74e7fea0.tar.xz wireguard-openbsd-fe8f25af67aa117530a16ad2f64a157d74e7fea0.zip |
teach stty about NMEADISC
-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; |