commit | afd11f8085d296db52944d34c84b0cb34d536274 | [log] [tgz] |
---|---|---|
author | Rom Lemarchand <romlem@android.com> | Mon Nov 09 17:35:09 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Nov 09 17:35:09 2015 +0000 |
tree | a0c3036750c086cb2e62c29626e6e1f1d2f1cb91 | |
parent | 2e093e74e536ee16cba9e78fc8744d373a0ce092 [diff] | |
parent | 24012b246be5c8fc85ba91c2a68a744a216c2b63 [diff] |
Merge "init: skip "name" DT entry"
diff --git a/init/init.cpp b/init/init.cpp index a898b03..605674b 100644 --- a/init/init.cpp +++ b/init/init.cpp
@@ -386,7 +386,7 @@ struct dirent *dp; while ((dp = readdir(dir.get())) != NULL) { - if (dp->d_type != DT_REG || !strcmp(dp->d_name, "compatible")) { + if (dp->d_type != DT_REG || !strcmp(dp->d_name, "compatible") || !strcmp(dp->d_name, "name")) { continue; }