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

Commit f13c2ba5 authored by The Android Open Source Project's avatar The Android Open Source Project Committed by Android Git Automerger
Browse files

am 742150c0: merge from open-source master

Merge commit '742150c0'

* commit '742150c0':
  Use complete hardware name without spaces.
parents 4e246965 742150c0
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;