commit | a0f9acb08bd6f3b4a6f3adcb02c8170e522c074a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Aug 02 12:12:01 2017 -0600 |
committer | Simon Glass <sjg@chromium.org> | Mon Sep 11 21:43:58 2017 -0600 |
tree | 47a72daa778482d4fea2129c2cc99fd45249b874 | |
parent | 226b50bbd87b0c4ebf913066dfadbe04306ce402 [diff] |
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>