cttyhack: trivial spelling/spacing fixes

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Kevin Cernekee 2011-08-14 13:35:25 -07:00 committed by Denys Vlasenko
parent 816cd16a4c
commit 4619802a5f

View File

@ -139,7 +139,7 @@ int cttyhack_main(int argc UNUSED_PARAM, char **argv)
#endif
#ifdef TIOCGSERIAL
if (ioctl(0, TIOCGSERIAL, &u.sr) == 0) {
/* this is a serial console, asuming it is named /dev/ttySn */
/* this is a serial console; assuming it is named /dev/ttySn */
sprintf(console + 8, "S%d", u.sr.line);
break;
}