summaryrefslogtreecommitdiff
path: root/e2fsprogs/old_e2fsprogs/blkid
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/blkid')
-rw-r--r--e2fsprogs/old_e2fsprogs/blkid/blkid_getsize.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/e2fsprogs/old_e2fsprogs/blkid/blkid_getsize.c b/e2fsprogs/old_e2fsprogs/blkid/blkid_getsize.c
index 941efa4..e1f6ba6 100644
--- a/e2fsprogs/old_e2fsprogs/blkid/blkid_getsize.c
+++ b/e2fsprogs/old_e2fsprogs/blkid/blkid_getsize.c
@@ -96,9 +96,9 @@ blkid_loff_t blkid_get_dev_size(int fd)
#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 &&