From: Tom Rini Date: Tue, 19 Feb 2019 20:57:18 -0500 Subject: [U-Boot] cmd: date: Do not overwrite arguments In-Reply-To: <20190208090102.14269-1-rka@sysgo.com> References: <20190208090102.14269-1-rka@sysgo.com> Message-ID: <20190220015718.GK21737@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: