diff options
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/ext2fs')
-rw-r--r-- | e2fsprogs/old_e2fsprogs/ext2fs/getsize.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/e2fsprogs/old_e2fsprogs/ext2fs/getsize.c b/e2fsprogs/old_e2fsprogs/ext2fs/getsize.c index ff11fe9..ee4bbb7 100644 --- a/e2fsprogs/old_e2fsprogs/ext2fs/getsize.c +++ b/e2fsprogs/old_e2fsprogs/ext2fs/getsize.c @@ -174,9 +174,9 @@ errcode_t ext2fs_get_device_size(const char *file, int blocksize, #ifdef BLKGETSIZE64 #ifdef __linux__ - if ((uname(&ut) == 0) && - ((ut.release[0] == '2') && (ut.release[1] == '.') && - (ut.release[2] < '6') && (ut.release[3] == '.'))) + uname(&ut); + if ((ut.release[0] == '2') && (ut.release[1] == '.') && + (ut.release[2] < '6') && (ut.release[3] == '.')) valid_blkgetsize64 = 0; #endif if (valid_blkgetsize64 && |