diff options
author | Tom Hughes <tomhughes@chromium.org> | 2021-05-03 17:16:08 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-05-04 18:29:40 +0000 |
commit | dda5488d3c5749f368d748404cfa5353e3f88fef (patch) | |
tree | 5eda4a3a081acd49c90ffa8463f4905caf26361f /util/ectool.c | |
parent | 0d2011eed89c208fe561b2f0909830821cda8999 (diff) | |
download | chrome-ec-dda5488d3c5749f368d748404cfa5353e3f88fef.tar.gz |
util/ectool: Add const
BRANCH=none
BUG=b:144959033
TEST=make buildall
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: Id2726e28678066f46fe7437d4e66916d05ffdf47
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2870386
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'util/ectool.c')
-rw-r--r-- | util/ectool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ectool.c b/util/ectool.c index 04a8f13e23..91469284d4 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -9995,7 +9995,7 @@ int cmd_typec_status(int argc, char *argv[]) (struct ec_response_typec_status *)ec_inbuf; char *endptr; int rv, i; - char *desc; + const char *desc; if (argc != 2) { fprintf(stderr, |