Fix a line trim to use the correct offset

We were previously trimming the string with the wrong prefix, which
meant that querying the Cpu brand from /proc/cpuinfo could be wrong if
the string matched "Processor\t: ".  We would use "model name\t: "
length to trim instead of the correct "Processor\t: " length.

BUG=788934

Change-Id: I1cc99e6c64ca89b25f53c51624db40cdafe24a6b
Reviewed-on: https://chromium-review.googlesource.com/791998
Reviewed-by: Tommy Nyquist <nyquist@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: David Trainor <dtrainor@chromium.org>
Cr-Commit-Position: refs/heads/master@{#519802}

CrOS-Libchrome-Original-Commit: 09d0298d8ca70b581a2cf481423bc5f593c022ce
1 file changed
tree: c0198bde662caca96b1e7ead3129789697806618
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/