- whitespace cleanup and add a possible shrinkage suggestion

This commit is contained in:
Bernhard Reutner-Fischer 2007-02-16 17:17:07 +00:00
parent 7fd00cbff7
commit d818dcc72a

View File

@ -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';