commit | d30b6fc6c7cd14126f8fe41dbf15b18e965ed375 | [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 | 2c701889276b6858fff88acdf7fcf08dd922c09f [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>