From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ns.lynxeye.de ([87.118.118.114] helo=lynxeye.de) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1abDko-00025W-De for barebox@lists.infradead.org; Wed, 02 Mar 2016 20:52:20 +0000 Received: from antimon.Speedport_W_504V_Typ_A (p54831D4B.dip0.t-ipconnect.de [84.131.29.75]) by lynxeye.de (Postfix) with ESMTPA id 8F88C26C2005 for ; Wed, 2 Mar 2016 21:51:24 +0100 (CET) From: Lucas Stach Date: Wed, 2 Mar 2016 21:50:36 +0100 Message-Id: <1456951837-20843-4-git-send-email-dev@lynxeye.de> In-Reply-To: <1456951837-20843-1-git-send-email-dev@lynxeye.de> References: <1456951837-20843-1-git-send-email-dev@lynxeye.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 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: [PATCH 4/5] bbu: use correct printf format specifier for size_t To: barebox@lists.infradead.org Signed-off-by: Lucas Stach --- common/bbu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bbu.c b/common/bbu.c index 4d71fa4..fc82193 100644 --- a/common/bbu.c +++ b/common/bbu.c @@ -187,7 +187,7 @@ static int bbu_std_file_handler(struct bbu_handler *handler, oflags |= O_CREAT; } else { if (!S_ISREG(s.st_mode) && s.st_size < data->len) { - printf("Image (%lld) is too big for device (%d)\n", + printf("Image (%lld) is too big for device (%zd)\n", s.st_size, data->len); } } -- 2.5.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox