commit | 0119a91d6ae95ee9f607240f2e918cec5359ff14 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Oct 22 17:02:51 2018 -0700 |
committer | Elliott Hughes <enh@google.com> | Mon Oct 22 17:04:32 2018 -0700 |
tree | 64e119ab861995610fb1020472ac2eeef6fb80a1 | |
parent | e64126b0e3735f94c08f1802f0ef483b17b2e37d [diff] |
adb: don't use <error.h>. This should fix the bloody Mac build, which doesn't have <error.h>. Since we weren't entirely happy with error(3) anyway, switch to the toybox style of error_exit and perror_exit, which are slightly briefer and quite a bit more intention-revealing. Bug: N/A Test: builds Change-Id: Ic8e411906c363af51657da5ce947b25a0b6bb1f3