system/core: delete an old patch file

Change-Id: Icb47b08fcca2c85ac4b92a6cd12429f3f0e0526a
Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
Iliyan Malchev 2010-12-16 15:23:32 -08:00
parent d66aa91623
commit e30dd2e1d1
1 changed files with 0 additions and 16 deletions

View File

@ -1,16 +0,0 @@
diff --git a/init/util.c b/init/util.c
index 4d98cc2..0667593 100755
--- a/init/util.c
+++ b/init/util.c
@@ -657,8 +657,9 @@ static void get_hardware_name(void)
if (x) {
x += 2;
n = 0;
- while (*x && !isspace(*x)) {
- hardware[n++] = tolower(*x);
+ while (*x && *x != '\n') {
+ if (!isspace(*x))
+ hardware[n++] = tolower(*x);
x++;
if (n == 31) break;
}