diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/portability.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/portability.c b/lib/portability.c index 145ac474..26b854d6 100644 --- a/lib/portability.c +++ b/lib/portability.c @@ -592,6 +592,6 @@ int get_block_device_size(int fd, unsigned long long* size) #elif defined(__linux__) int get_block_device_size(int fd, unsigned long long* size) { - return (ioctl(fd, BLKGETSIZE64, &size) >= 0); + return (ioctl(fd, BLKGETSIZE64, size) >= 0); } #endif |