summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorSandeep Patil <sspatil@google.com>2017-02-24 13:03:39 -0800
committerSandeep Patil <sspatil@google.com>2017-02-24 13:29:33 -0800
commit4cd9a46916ec08a2686421ac974c6d083f260fee (patch)
treef053a6b23cb7b993824c363015c96f8d4bb5ddc7 /debuggerd/handler/debuggerd_handler.cpp
parente396c607ffa1fbd230a90c31d6bbebaa01ab89dd (diff)
fs_mgr: refactor: consolidate device tree file reading in one place
If Device tree values are read for comparison, they produce false negatives with std::strings due to trailing '\0'. This change consolidates the triming of trailing null into a single helper function to be used everywhere fs_mgr reads DT values for comparison or other reasons where it wishes to have the trailing null trimmed. b/27805372 Test: Boot sailfish w/ early mount /vendor Change-Id: If71efc830dc440323df764c7461867e71ed6515b Signed-off-by: Sandeep Patil <sspatil@google.com>
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions