commit | d2aaede610d60f1c9ea8eacf5d4de367d0e8a05f | [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 | 4999a283acec1b3fc4706438d00a72d83b5f012e | |
parent | f2b170573f91719783f514cb307f565dfc577fe9 [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