aboutsummaryrefslogtreecommitdiff
path: root/utils/gl-puli-mcu
diff options
context:
space:
mode:
authorJean Thomas <jean.thomas@wifirst.fr>2023-11-15 15:59:26 +0100
committerNuno Goncalves <nunojpg@gmail.com>2023-11-20 14:51:52 +0000
commit2ae44d696f60f18f77a79cac22488b8980ff52e1 (patch)
tree67563a8aeb39eee2242d6683b5630b70e1f55a12 /utils/gl-puli-mcu
parentf52f4370700afeba5a7b085ab6a6693745c89eba (diff)
gl-puli-mcu: Fix compilation warning
Signed-off-by: Jean Thomas <jean.thomas@wifirst.fr>
Diffstat (limited to 'utils/gl-puli-mcu')
-rw-r--r--utils/gl-puli-mcu/src/gl-puli-mcu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gl-puli-mcu/src/gl-puli-mcu.c b/utils/gl-puli-mcu/src/gl-puli-mcu.c
index fe55cc42d..6cf4f2abd 100644
--- a/utils/gl-puli-mcu/src/gl-puli-mcu.c
+++ b/utils/gl-puli-mcu/src/gl-puli-mcu.c
@@ -79,7 +79,7 @@ consume(struct ustream *s, char **a)
battery.set = process(*a);
if (!battery.set)
- ULOG_ERR("failed to parse message from serial: %s", a);
+ ULOG_ERR("failed to parse message from serial: %s", *a);
ustream_consume(s, eol - *a);
*a = eol;