commit | 40e9998984756a0a8b9cde57504a4815c86d94b4 | [log] [tgz] |
---|---|---|
author | Bowgo Tsai <bowgotsai@google.com> | Wed May 24 18:51:36 2017 +0800 |
committer | Bowgo Tsai <bowgotsai@google.com> | Thu May 25 00:25:24 2017 +0800 |
tree | 36b9e983ca909163833a630f3a24b1177aefb79c | |
parent | b7490df324e8ff37950ee4f03eb233b7e21bb738 [diff] |
fs_mgr: fix SIGSEGV when ostream << nullptr fstab_rec.fs_options might be nullptr when printing error message. Use android::base::StringPrintf() to '(null)' when needed. Bug: 37759782 Test: Boot device and manaully trigger the output Change-Id: I1bdf4ba57331aaea9dd5e790f6bf9d9b8bdc8b53 Merged-In: I1bdf4ba57331aaea9dd5e790f6bf9d9b8bdc8b53 (cherry picked from commit 59af33c9ed6f8436fae599c37f4b8e8e7e9b71fa)