commit | e3a12161cb7d2f9e3b1f1472df1d348b30a82465 | [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 | d9742cad7c4654cb497a14fbdd7ac3f119ff26e2 | |
parent | ff4445614bf25322195741000720b5cec737c2b5 [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