]> git.sur5r.net Git - u-boot/commit
dm: core: Drop use of strlcpy()
authorSimon Glass <sjg@chromium.org>
Wed, 2 Aug 2017 18:12:01 +0000 (12:12 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Sep 2017 03:43:58 +0000 (21:43 -0600)
commita0f9acb08bd6f3b4a6f3adcb02c8170e522c074a
tree47a72daa778482d4fea2129c2cc99fd45249b874
parent226b50bbd87b0c4ebf913066dfadbe04306ce402
dm: core: Drop use of strlcpy()

We can use printf() to limit the string width. Adjust the code to do this
instead of using strlcpy() which is a bit clumbsy.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
drivers/core/dump.c