aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-12 00:32:05 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-12 00:32:05 +0000
commit51742f4bb0c57a4d5063ece9437a2f34a42e52c8 (patch)
tree7a912fc65ff43bdb09078d75bfc02ad8f5380b47 /init
parent50f7f446ecaadef6895a4ee601567e0b68330637 (diff)
downloadbusybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.tar.gz
busybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.tar.bz2
busybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.zip
style fixes. No code changes
Diffstat (limited to 'init')
-rw-r--r--init/init.c2
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,