Document length limit for the process field in the inittab. Patch

from Johannes Truschnigg and Debian.
This commit is contained in:
Petter Reinholdtsen
2014-02-07 17:41:58 +00:00
parent 1b91c378b9
commit a05987e281
3 changed files with 4 additions and 2 deletions

View File

@@ -1365,7 +1365,7 @@ void read_inittab(void)
if (rlevel && strlen(rlevel) > 11)
strcpy(err, "rlevel field too long (max 11 characters)");
if (process && strlen(process) > 127)
strcpy(err, "process field too long");
strcpy(err, "process field too long (max 127 characters)");
if (action && strlen(action) > 32)
strcpy(err, "action field too long");
if (err[0] != 0) {