Add newline at end of error message
So the message gets flushed before the following abort. Test: bionic-unit-tests without bionic-loader-test-libs at the expected relative path shows the error message. Change-Id: I53bb27a88b73c9d8f4bb76560752f99a104d71ca
This commit is contained in:
parent
f76ef36690
commit
cb4a7c81e0
|
@ -29,7 +29,7 @@ std::string GetTestlibRoot() {
|
|||
|
||||
std::string out_path;
|
||||
if (!android::base::Realpath(path.c_str(), &out_path)) {
|
||||
printf("Failed to get realpath for \"%s\"", path.c_str());
|
||||
printf("Failed to get realpath for \"%s\"\n", path.c_str());
|
||||
abort();
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,7 @@ std::string GetTestlibRoot() {
|
|||
|
||||
std::string real_path;
|
||||
if (!android::base::Realpath(out_path, &real_path)) {
|
||||
printf("\"%s\": does not exists", out_path.c_str());
|
||||
printf("\"%s\": does not exists\n", out_path.c_str());
|
||||
abort();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue