summaryrefslogtreecommitdiffstats
path: root/bin/stty
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stty')
-rw-r--r--bin/stty/print.c4
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;
OpenPOWER on IntegriCloud