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:
parent
816cd16a4c
commit
4619802a5f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user