crash-reporter: Move disabling of GCC warning into source file

Rather than disable the "format not a string literal, argument types not
checked" warning for the entire kernel_collector.cc file, only disable it
for the code in question.

BUG=chromium-os:27127
TEST=Ran unittests

Change-Id: Id85e7945779cd5d1b6a3b68cfdedae53b3f22c74
Reviewed-on: https://gerrit.chromium.org/gerrit/20484
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Ready: Michael Krebs <mkrebs@chromium.org>
Tested-by: Michael Krebs <mkrebs@chromium.org>
2 files changed
tree: a5859241c2c9afc67ba113e1970687348a577210
  1. crash_reporter/