commit | 5d32a5875cc63710750a07ca7887951a606a9fa7 | [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 | f34b4dead75c94020c1e831df86aea23c2fb6126 [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>