commit | 88ff7cb1c8bb411572ac82cd7e312281d8e09d3b | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Nov 09 19:14:39 2022 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Nov 22 15:13:34 2022 -0700 |
tree | 8e06262aeed1e10c070271807ee6af79364baf3d | |
parent | fb132b37278c708692dfc3669339ae6d60ee7822 [diff] |
image: Correct strncpy() warning with image_set_name() gcc 12 seems to warn on strncpy() as a matter of course. Rewrite the code a different way to do the same thing, to avoid the warning. Signed-off-by: Simon Glass <sjg@chromium.org>