commit | f6e65e3f80e59866bfe74f4d82a9850216a65234 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Nov 17 14:08:20 2015 -0800 |
committer | Josh Gao <jmgao@google.com> | Tue Nov 17 14:41:57 2015 -0800 |
tree | cf1c960f113caa45c7c453d7c3640a7a0043f567 | |
parent | c40f213b67cb12a8771845ec2c609e060d9c19b0 [diff] |
adb: don't use adb_dirname in between getting and printing errno. adb_dirname might trample over the errno value we want to print. Move the adb_dirname call out to a local to prevent this. Change-Id: I8a62cb2e1be8704225a9c3b72dd01259c7eaaae4