diff options
| author | Bowgo Tsai <bowgotsai@google.com> | 2017-05-24 18:51:36 +0800 |
|---|---|---|
| committer | Bowgo Tsai <bowgotsai@google.com> | 2017-05-25 00:25:24 +0800 |
| commit | 98af6b320ad74d0f54b61eef99e000834339e1cb (patch) | |
| tree | 36b9e983ca909163833a630f3a24b1177aefb79c /base/errors_unix.cpp | |
| parent | ea6826448b6a4dee754d0173711517075ca97119 (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)
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
