b5f14a2072
Error: chrono_main.c:434:51: error: '%01ld' directive output may be truncated writing between 1 and 3 bytes into a region of size between 2 and 10 [-Werror=format-truncation=] 434 | snprintf(str, sizeof(str), "%02ld:%02ld:%01ld", | ^~~~~ chrono_main.c:434:38: note: directive argument in the range [-21, 21] 434 | snprintf(str, sizeof(str), "%02ld:%02ld:%01ld", | ^~~~~~~~~~~~~~~~~~~ chrono_main.c:434:11: note: 'snprintf' output between 8 and 18 bytes into a destination of size 16 434 | snprintf(str, sizeof(str), "%02ld:%02ld:%01ld", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 435 | min, sec, (priv->ts_end.tv_nsec / 100000000)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> |
||
---|---|---|
.. | ||
chrono_main.c | ||
Kconfig | ||
Make.defs | ||
Makefile |