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 canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1Pb9nl-00026L-TL for barebox@lists.infradead.org; Fri, 07 Jan 2011 10:44:15 +0000 From: Sascha Hauer Date: Fri, 7 Jan 2011 11:43:45 +0100 Message-Id: <1294397044-5008-6-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1294397044-5008-1-git-send-email-s.hauer@pengutronix.de> References: <1294397044-5008-1-git-send-email-s.hauer@pengutronix.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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 05/24] cdev: fix printf compiler warnings To: barebox@lists.infradead.org Signed-off-by: Sascha Hauer --- drivers/mtd/ubi/cdev.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c index 30b8308..5520132 100644 --- a/drivers/mtd/ubi/cdev.c +++ b/drivers/mtd/ubi/cdev.c @@ -24,7 +24,7 @@ static ssize_t ubi_volume_cdev_read(struct cdev *cdev, void *buf, size_t size, loff_t offp = offset; int usable_leb_size = vol->usable_leb_size; - printf("%s: %d @ 0x%08x\n", __func__, size, offset); + printf("%s: %d @ 0x%08lx\n", __func__, size, offset); len = size > usable_leb_size ? usable_leb_size : size; -- 1.7.2.3 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox