fixed error message (xhdi_get_capacity())

This commit is contained in:
Markus Fröschle
2013-08-11 15:40:37 +00:00
parent 7a3084d76f
commit d61056eaf0
2 changed files with 3 additions and 6 deletions

View File

@@ -190,7 +190,7 @@ 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:%d\r\n", __FILE__, __LINE__);
xprintf("disk_ioctl(0, GET_SECTOR_COUNT, %p) failed at %s:%d\r\n", blocks, __FILE__, __LINE__);
return ERROR;
}
@@ -201,7 +201,7 @@ uint32_t xhdi_get_capacity(uint16_t major, uint16_t minor, uint32_t *blocks, uin
{
if (disk_ioctl(0, GET_SECTOR_SIZE, bs) != RES_OK)
{
xprintf("disk_ioctl(0, GET_SECTOR_SIZE, %p) failed at %s:%dr\n", __FILE__, __LINE__);
xprintf("disk_ioctl(0, GET_SECTOR_SIZE, %p) failed at %s:%dr\n", bs, __FILE__, __LINE__);
return ERROR;
}