aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@gmail.com>2011-08-14 13:35:25 -0700
committerDenys Vlasenko <vda.linux@googlemail.com>2011-08-16 23:31:03 +0200
commit4619802a5f399119345ca339886b7b060f2c15aa (patch)
tree5189073db0adf36a406848a7f692a223ab7426fb
parent816cd16a4ce81ec8d2989a356256f813fc91475d (diff)
downloadbusybox-w32-4619802a5f399119345ca339886b7b060f2c15aa.tar.gz
busybox-w32-4619802a5f399119345ca339886b7b060f2c15aa.tar.bz2
busybox-w32-4619802a5f399119345ca339886b7b060f2c15aa.zip
cttyhack: trivial spelling/spacing fixes
Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-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 }