commit | 809965cc363dfa2a53bfc5bb2f4d14f7f467add8 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Nov 27 19:06:17 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Nov 27 19:06:18 2014 +0000 |
tree | 3c8f8aea1fcd7c1f42f52563036cc1fdaf8fc4e7 | |
parent | ba1552bd2438a8a47779ed3d05d5ce15bfb5741c [diff] | |
parent | 0085d948f2436c0dae2e44e327de46a376cd62fd [diff] |
Merge "Lose readlink to toybox."
diff --git a/fastboot/fastboot.c b/fastboot/fastboot.c index 13425e6..959d3ad 100644 --- a/fastboot/fastboot.c +++ b/fastboot/fastboot.c
@@ -244,7 +244,7 @@ // output compatible with "adb devices" if (!long_listing) { printf("%s\tfastboot\n", serial); - } else if (!info->device_path) { + } else if (strcmp("", info->device_path) == 0) { printf("%-22s fastboot\n", serial); } else { printf("%-22s fastboot %s\n", serial, info->device_path);