summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Hurst <shurst@google.com>2017-07-27 09:37:22 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-07-27 17:55:44 -0700
commite03e58c745716241df056750b765d1c7d5985b62 (patch)
treeabefb726b167321427f4fcab1805a27ef87205e5
parente8812717f7f5879ea6c258f01e4c8ed6adf53b5b (diff)
downloadchrome-ec-e03e58c745716241df056750b765d1c7d5985b62.tar.gz
genvif: Vendor Name not displayed in PD Compliance Software
After the USB-C compliance test software loads the VIF, the Vendor Name isn't populated and left blank in the Test Report. BUG=b:64111221 BRANCH=None TEST=`make -j buildall` Signed-off-by: Sam Hurst <shurst@chromium.org> Change-Id: I672345cc950e78ea4eef973a9929e6eb9f9117d9 Reviewed-on: https://chromium-review.googlesource.com/590347 Commit-Ready: Sam Hurst <shurst@google.com> Tested-by: Sam Hurst <shurst@google.com> Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r--util/genvif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/genvif.c b/util/genvif.c
index 5cddd86327..6b3d685b37 100644
--- a/util/genvif.c
+++ b/util/genvif.c
@@ -329,7 +329,7 @@ static int gen_vif(const char *name, const char *board,
/* Write VIF Header */
fprintf(vif, "$VIF_Specification: \"%s\"\r\n", VIF_SPEC);
fprintf(vif, "$VIF_Producer: \"%s\"\r\n", vif_producer);
- fprintf(vif, "$Vendor_name: \"%s\"\r\n", VENDOR_NAME);
+ fprintf(vif, "$Vendor_Name: \"%s\"\r\n", VENDOR_NAME);
fprintf(vif, "$Product_Name: \"%s\"\r\n", board);
fprintf(vif, "PD_Specification_Revision: %d\r\n", PD_SPEC_REV);