summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2020-01-27 13:49:26 -0800
committerTom Cherry <tomcherry@google.com>2020-01-27 13:50:44 -0800
commitff464b128877ee75274d726aa9831fff3821dab7 (patch)
treec1d1e0a5a03ff8436429e723ac32d4715f2463ed /trusty/coverage/coverage_test.cpp
parent347d6406f09f8bbb914a34e83bd01d3bee4de6c7 (diff)
liblog: always restore errno in logging functions
Some recent changes can have these logging functions potentially set errno. This change places android::base::ErrnoRestorer at the entry point of the public functions where we want to guarantee errno is restored to ensure this will not happen again. Test: build Change-Id: Iab4170ab16b9c7301474a509ee42d38b370b91a4
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions