From 9ca65800e702173589f2684494f595afa243a459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sun, 11 Aug 2013 13:42:13 +0000 Subject: [PATCH] fixed display of __LINE__ --- BaS_gcc/sources/xhdi_sd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BaS_gcc/sources/xhdi_sd.c b/BaS_gcc/sources/xhdi_sd.c index 22ee986..b941c03 100644 --- a/BaS_gcc/sources/xhdi_sd.c +++ b/BaS_gcc/sources/xhdi_sd.c @@ -190,22 +190,22 @@ uint32_t xhdi_get_capacity(uint16_t major, uint16_t minor, uint32_t *blocks, uin { if (disk_ioctl(0, GET_SECTOR_COUNT, blocks) != RES_OK) { - xprintf("disk_ioctl(0, GET_SECTOR_COUNT, %p) failed at %s:%s\r\n", __FILE__, __LINE__); + xprintf("disk_ioctl(0, GET_SECTOR_COUNT, %p) failed at %s:%d\r\n", __FILE__, __LINE__); return ERROR; } - xprintf("%s:%s: determined sector count to %ld\r\n", __FILE__, __LINE__, *blocks); + xprintf("%s:%d: determined sector count to %ld\r\n", __FILE__, __LINE__, *blocks); } if (bs != 0) { if (disk_ioctl(0, GET_SECTOR_SIZE, bs) != RES_OK) { - xprintf("disk_ioctl(0, GET_SECTOR_SIZE, %p) failed at %s:%sr\n", __FILE__, __LINE__); + xprintf("disk_ioctl(0, GET_SECTOR_SIZE, %p) failed at %s:%dr\n", __FILE__, __LINE__); return ERROR; } - xprintf("%s:%s: determined sector size to %ld\r\n", __FILE__, __LINE__, *bs); + xprintf("%s:%d: determined sector size to %ld\r\n", __FILE__, __LINE__, *bs); } return E_OK; }