commit | c0305f2c98acc70412a31e67046a2617dd2316c4 | [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 | f1e3ac9093ff4613cf70161afbc51aac0b97c3c7 [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