diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c index 8c32b7791..342e0a6b8 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -843,7 +843,7 @@ static void parse_inittab(void) | |||
843 | for (a = actions; a->name != 0; a++) { | 843 | for (a = actions; a->name != 0; a++) { |
844 | if (strcmp(a->name, action) == 0) { | 844 | if (strcmp(a->name, action) == 0) { |
845 | if (*id != '\0') { | 845 | if (*id != '\0') { |
846 | if(strncmp(id, "/dev/", 5) == 0) | 846 | if (strncmp(id, "/dev/", 5) == 0) |
847 | id += 5; | 847 | id += 5; |
848 | strcpy(tmpConsole, "/dev/"); | 848 | strcpy(tmpConsole, "/dev/"); |
849 | safe_strncpy(tmpConsole + 5, id, | 849 | safe_strncpy(tmpConsole + 5, id, |