diff options
Diffstat (limited to 'patch.txt')
-rw-r--r-- | patch.txt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/patch.txt b/patch.txt deleted file mode 100644 index 258965d..0000000 --- a/patch.txt +++ /dev/null @@ -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; - } |