summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorRuibin Chang <ruibin.chang@ite.com.tw>2020-08-14 15:21:16 +0800
committerJett Rink <jettrink@chromium.org>2020-08-14 18:15:36 +0000
commit2debc2805c7ca8acd48540b3fdd49c90df06c13d (patch)
tree36c39126ecc79ac660469677bc6c16251e6d0e10 /util
parent9f91e11cd3d0ce0814296263c45399ecdcd7a2d4 (diff)
downloadchrome-ec-2debc2805c7ca8acd48540b3fdd49c90df06c13d.tar.gz
VIF: add \n to separate two lines
The generated VIF, USB_PD_Support and PD_Port_Type field stick together, so I add \n to separate two lines. BUG=none BRANCH=none TEST=check USB_PD_Support and PD_Port_Type field are separated. Signed-off-by: Ruibin Chang <ruibin.chang@ite.com.tw> Change-Id: I43453301751523d0005022d039e640ac06244910 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2355633 Tested-by: Ruibin Chang <Ruibin.Chang@ite.com.tw> Reviewed-by: Sam Hurst <shurst@google.com> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/genvif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/genvif.c b/util/genvif.c
index 404363a033..919b81c64f 100644
--- a/util/genvif.c
+++ b/util/genvif.c
@@ -406,7 +406,7 @@ static void write_usb_pd_support(FILE *vif)
yn = "YES";
#endif
- fprintf(vif, "USB_PD_Support: %s", yn);
+ fprintf(vif, "USB_PD_Support: %s\n", yn);
}
static void write_pd_port_type(FILE *vif, enum dtype type)