mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-26 16:31:11 +00:00
fix a warning
This commit is contained in:
parent
62956816ed
commit
bad472294c
@ -800,8 +800,8 @@ loff_t SysGetFileSize(void *arg)
|
||||
if (fh->is_file)
|
||||
return fh->file_size;
|
||||
else {
|
||||
long blocks;
|
||||
#if defined(__linux__)
|
||||
long blocks;
|
||||
if (ioctl(fh->fd, BLKGETSIZE, &blocks) < 0)
|
||||
return 0;
|
||||
D(bug(" BLKGETSIZE returns %d blocks\n", blocks));
|
||||
|
Loading…
x
Reference in New Issue
Block a user