From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WfORQ-0001cO-5R for barebox@lists.infradead.org; Wed, 30 Apr 2014 06:56:29 +0000 Date: Wed, 30 Apr 2014 08:56:05 +0200 From: Sascha Hauer Message-ID: <20140430065605.GF5858@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/1] Fix bug in export 64 bit unsigned environment variable. To: "Michael D. Burkey" Cc: barebox@lists.infradead.org On Tue, Apr 29, 2014 at 03:16:02PM -0400, Michael D. Burkey wrote: > This patch corrects exporting unsigned 64-bit environment variables. > I had left out a signed off line before. > > Signed-off-by: Michael Burkey Applied, thanks Sascha > --- > > > --- a/common/env.c > +++ b/common/env.c > @@ -258,7 +258,7 @@ > > void export_env_ull(const char *name, unsigned long long val) > { > - char *valstr = asprintf("%lld", val); > + char *valstr = asprintf("%llu", val); > > setenv(name, valstr); > export(name); > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox