diff options
author | Sean Anderson <seanga2@gmail.com> | 2021-03-11 00:15:41 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-12 17:44:55 -0400 |
commit | d3358ecc54be0bc3b4dd11f7a63eab0a2842f772 (patch) | |
tree | de594fc4a6e853b3a94e829ff92d60446ebd2a1c /configs/Mele_M3_defconfig | |
parent | 92e84896112037833e429d629f87cedbeb255d5a (diff) | |
download | u-boot-d3358ecc54be0bc3b4dd11f7a63eab0a2842f772.tar.gz |
lib: string: Fix strlcpy return value
strlcpy should always return the number of bytes copied. We were
accidentally missing the nul-terminator. We also always used to return a
non-zero value, even if we did not actually copy anything.
Fixes: 23cd138503 ("Integrate USB gadget layer and USB CDC driver layer")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'configs/Mele_M3_defconfig')
0 files changed, 0 insertions, 0 deletions