commit | 360dc200e97f39e2aa312bf41f14a613857d074a | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Dec 17 22:17:38 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Dec 17 22:17:38 2015 +0000 |
tree | 4a8d696dfa00b1feeb5333393d98d03afbac6138 | |
parent | ec10ef9ae24212a41f48a04d6c67c71a6584353e [diff] | |
parent | 2a1cc343e3a5d6743d8f840f7b8fd274f12c40e8 [diff] |
Merge "Improve "adb install"'s error message slightly."
diff --git a/adb/commandline.cpp b/adb/commandline.cpp index 8575c86..f74da19 100644 --- a/adb/commandline.cpp +++ b/adb/commandline.cpp
@@ -1860,8 +1860,7 @@ adb_close(remoteFd); if (strncmp("Success", buf, 7)) { - fprintf(stderr, "Failed to write %s\n", file); - fputs(buf, stderr); + fprintf(stderr, "Failed to install %s: %s", file, buf); return 1; } fputs(buf, stderr);