Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Many files:
[tools/e2fsprogs.git]
/
lib
/
ext2fs
/
getsize.c
diff --git
a/lib/ext2fs/getsize.c
b/lib/ext2fs/getsize.c
index
c9fc00a
..
0246545
100644
(file)
--- a/
lib/ext2fs/getsize.c
+++ b/
lib/ext2fs/getsize.c
@@
-53,7
+53,9
@@
errcode_t ext2fs_get_device_size(const char *file, int blocksize,
blk_t *retblocks)
{
int fd;
+#ifdef BLKGETSIZE
long size;
+#endif
ext2_loff_t high, low;
#ifdef FDGETPRM
struct floppy_struct this_floppy;