summaryrefslogtreecommitdiff
path: root/fastboot/fastboot.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-05-10 01:41:39 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-05-10 01:41:41 +0000
commit6f4d47438def7b9e4745f5f1086df9425a65b9e7 (patch)
treef279445c184229ae1fab97d3d921dfbd66a0e1ea /fastboot/fastboot.cpp
parentcdad92fdad13c0c936c7cc6741538f55823bf31c (diff)
parent4d4f64ff94e8c03d0c2e7b7ccfa7c48ca2345087 (diff)
Merge "Show the "platform tools" version in adb/fastboot --version."
Diffstat (limited to 'fastboot/fastboot.cpp')
-rw-r--r--fastboot/fastboot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index be7bf4a91..f10b9ce10 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -1544,7 +1544,7 @@ int main(int argc, char **argv)
setvbuf(stdout, nullptr, _IONBF, 0);
setvbuf(stderr, nullptr, _IONBF, 0);
} else if (strcmp("version", longopts[longindex].name) == 0) {
- fprintf(stdout, "fastboot version %s\n", FASTBOOT_REVISION);
+ fprintf(stdout, "fastboot version %s\n", FASTBOOT_VERSION);
fprintf(stdout, "Installed as %s\n", android::base::GetExecutablePath().c_str());
return 0;
} else if (strcmp("slot", longopts[longindex].name) == 0) {