arm:cleanup add assert.
This commit is contained in:
parent
1e9492a8b8
commit
9d9456ef7d
1 changed files with 1 additions and 0 deletions
|
@ -426,6 +426,7 @@ set_console_line(char term[CONS_ARG])
|
|||
}
|
||||
|
||||
/* Serial lines */
|
||||
assert(NR_RS_LINES <= 9);/* bellow assumes this is the case */
|
||||
for (i = 0; i < NR_RS_LINES; i++) {
|
||||
char sercons[6];
|
||||
strlcpy(sercons, "tty00", sizeof(sercons));
|
||||
|
|
Loading…
Reference in a new issue