Make sure all logging ends with newline

This commit is contained in:
topjohnwu
2020-12-02 00:55:22 -08:00
parent a848f10bba
commit 797ba4fbf4
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -359,7 +359,7 @@ bool validate_manager(string &pkg, int userid, struct stat *st) {
// Check the official package name
sprintf(app_path, "%s/%d/" JAVA_PACKAGE_NAME, APP_DATA_DIR, userid);
if (stat(app_path, st)) {
LOGE("su: cannot find manager");
LOGE("su: cannot find manager\n");
memset(st, 0, sizeof(*st));
pkg.clear();
return false;