diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2005-05-26 06:57:57 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2005-05-26 06:57:57 +0000 |
commit | aaf9c3b78480b1f19ce524379b13d5f99247ef7c (patch) | |
tree | 0485ef6fd8fe575b01814b4a25cea3e5041d9576 /bin/stty | |
parent | 748741c7ae4a03d46c91df65ab2cc605c3b7629e (diff) | |
download | src-aaf9c3b78480b1f19ce524379b13d5f99247ef7c.tar.gz src-aaf9c3b78480b1f19ce524379b13d5f99247ef7c.zip |
Fix: printed output flags (onocr) and (onlret) same as oxtabs
PR: 81256
Submitted by: Arseny Nasokin <tarc@tarc.po.cs.msu.su>
Notes
Notes:
svn path=/head/; revision=146636
Diffstat (limited to 'bin/stty')
-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 e659bca83333..cf24d4f46529 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; |