- whitespace cleanup and add a possible shrinkage suggestion
This commit is contained in:
parent
7fd00cbff7
commit
d818dcc72a
@ -879,6 +879,7 @@ static void parse_inittab(void)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* Trim the trailing \n */
|
/* Trim the trailing \n */
|
||||||
|
//XXX: chomp() ?
|
||||||
eol = strrchr(id, '\n');
|
eol = strrchr(id, '\n');
|
||||||
if (eol != NULL)
|
if (eol != NULL)
|
||||||
*eol = '\0';
|
*eol = '\0';
|
||||||
|
Loading…
Reference in New Issue
Block a user