Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 742150c0 authored by The Android Open Source Project's avatar The Android Open Source Project
Browse files

merge from open-source master

Change-Id: I29602fecafc2b6d93b849ada89696a67cfd23353
parents 64ba76c1 22b0b565
Loading
Loading
Loading
Loading

init/util.c

100644 → 100755
+3 −2
Original line number Diff line number Diff line
@@ -439,7 +439,8 @@ void get_hardware_name(char *hardware, unsigned int *revision)
        if (x) {
            x += 2;
            n = 0;
            while (*x && !isspace(*x)) {
            while (*x && *x != '\n') {
                if (!isspace(*x))
                    hardware[n++] = tolower(*x);
                x++;
                if (n == 31) break;