Fix format string warnings.
This commit is contained in:
parent
9514a9d161
commit
d6a0c11b7a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272565
@ -78,8 +78,8 @@ disk_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf,
|
||||
return (-1);
|
||||
if (rsize)
|
||||
*rsize = 0;
|
||||
printf("read %lu bytes from the block %ld [+%ld]\n", size,
|
||||
blk, dev->d_offset);
|
||||
printf("read %zu bytes from the block %lld [+%lld]\n", size,
|
||||
(long long)blk, (long long)dev->d_offset);
|
||||
ret = pread(disk.fd, buf, size,
|
||||
(blk + dev->d_offset) * disk.sectorsize);
|
||||
if (ret != size)
|
||||
|
Loading…
Reference in New Issue
Block a user