run-as: Use 2-space clang-format.

Bug: none
Test: none.
Change-Id: I8fc2f9a534675347bae5af0ce12b0bf3d7c32d55
This commit is contained in:
Yabin Cui 2018-11-06 11:18:44 -08:00
parent fa36e318cf
commit bcbffddb10
2 changed files with 2 additions and 1 deletions

1
run-as/.clang-format Symbolic link
View file

@ -0,0 +1 @@
../.clang-format-2

View file

@ -144,7 +144,7 @@ int main(int argc, char* argv[]) {
// Some devices can disable running run-as, such as Chrome OS when running in
// non-developer mode.
if (android::base::GetBoolProperty("ro.boot.disable_runas", false)) {
error(1, 0, "run-as is disabled from the kernel commandline");
error(1, 0, "run-as is disabled from the kernel commandline");
}
char* pkgname = argv[1];