summaryrefslogtreecommitdiffstats
path: root/applypatch/applypatch_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'applypatch/applypatch_main.cpp')
-rw-r--r--applypatch/applypatch_main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/applypatch/applypatch_main.cpp b/applypatch/applypatch_main.cpp
index 4fa73d3c2..92d2b3fa9 100644
--- a/applypatch/applypatch_main.cpp
+++ b/applypatch/applypatch_main.cpp
@@ -16,7 +16,10 @@
#include "applypatch_modes.h"
+#include <android-base/logging.h>
+
// See the comments for applypatch() function.
int main(int argc, char** argv) {
+ android::base::InitLogging(argv);
return applypatch_modes(argc, argv);
}