]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: Use memcpy() instead of ad-hoc code to copy variable value
authorMarek Behún <marek.behun@nic.cz>
Sun, 17 Oct 2021 15:36:36 +0000 (17:36 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Oct 2021 18:50:48 +0000 (12:50 -0600)
commita473766cce44882237e567bcd58f7559ecdd0440
tree17e9fe102e3c356888568acfa17613c5d740a4fe
parent3112ce0ce8195880aec5e9373434a85e21c3e1af
env: Use memcpy() instead of ad-hoc code to copy variable value

Copy the value of the found variable into given buffer with memcpy()
instead of ad-hoc code.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/nvedit.c