diff options
author | ache <ache@FreeBSD.org> | 2005-05-26 06:57:57 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2005-05-26 06:57:57 +0000 |
commit | c5682ca18451e089d2cc15751c4f2141a8f1980d (patch) | |
tree | 0485ef6fd8fe575b01814b4a25cea3e5041d9576 /bin | |
parent | cc26514351ed32c625697fa2e472ee7cccb18fd5 (diff) | |
download | FreeBSD-src-c5682ca18451e089d2cc15751c4f2141a8f1980d.zip FreeBSD-src-c5682ca18451e089d2cc15751c4f2141a8f1980d.tar.gz |
Fix: printed output flags (onocr) and (onlret) same as oxtabs
PR: 81256
Submitted by: Arseny Nasokin <tarc@tarc.po.cs.msu.su>
Diffstat (limited to 'bin')
-rw-r--r-- | bin/stty/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/stty/print.c b/bin/stty/print.c index e659bca..cf24d4f 100644 --- a/bin/stty/print.c +++ b/bin/stty/print.c @@ -142,8 +142,8 @@ print(struct termios *tp, struct winsize *wp, int ldisc, enum FMT fmt) put("-onlcr", ONLCR, 1); put("-ocrnl", OCRNL, 0); put("-oxtabs", OXTABS, 1); - put("-onocr", OXTABS, 0); - put("-onlret", OXTABS, 0); + put("-onocr", ONOCR, 0); + put("-onlret", ONLRET, 0); /* control flags (hardware state) */ tmp = tp->c_cflag; |