aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/cttyhack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/cttyhack.c b/shell/cttyhack.c
index 37ea13723..6241c76a9 100644
--- a/shell/cttyhack.c
+++ b/shell/cttyhack.c
@@ -139,7 +139,7 @@ int cttyhack_main(int argc UNUSED_PARAM, char **argv)
139#endif 139#endif
140#ifdef TIOCGSERIAL 140#ifdef TIOCGSERIAL
141 if (ioctl(0, TIOCGSERIAL, &u.sr) == 0) { 141 if (ioctl(0, TIOCGSERIAL, &u.sr) == 0) {
142 /* this is a serial console, asuming it is named /dev/ttySn */ 142 /* this is a serial console; assuming it is named /dev/ttySn */
143 sprintf(console + 8, "S%d", u.sr.line); 143 sprintf(console + 8, "S%d", u.sr.line);
144 break; 144 break;
145 } 145 }