[U-Boot] cmd: date: Do not overwrite arguments

Tom Rini trini at konsulko.com
Wed Feb 20 01:57:18 UTC 2019


On Fri, Feb 08, 2019 at 10:01:02AM +0100, Roman Kapl wrote:

> Arguments are const and belong to the caller. Calling date in a hush
> loop will yield different results from the second invocation.
> 
> Signed-off-by: Roman Kapl <rka at sysgo.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190219/ef85f486/attachment.sig>


More information about the U-Boot mailing list