diff options
author | Maksym Kryzhanovskyy <xmaks@email.cz> | 2011-05-07 04:37:22 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-07 04:37:22 +0200 |
commit | 29c54aa9f9e8eedf2d227550a790e76661ce63ad (patch) | |
tree | b4c2992f36bd66d6aa2d13b57b7dd4470cf36ed7 /e2fsprogs/old_e2fsprogs/blkid | |
parent | c3f8db99bf91e6fb131c8d2240fc4d5a44ed561a (diff) | |
download | busybox-29c54aa9f9e8eedf2d227550a790e76661ce63ad.tar.gz |
iostat: code shrink ~0.5k
Signed-off-by: Maksym Kryzhanovskyy <xmaks@email.cz>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/blkid')
-rw-r--r-- | e2fsprogs/old_e2fsprogs/blkid/blkid_getsize.c | 6 |
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 941efa42c..e1f6ba6d2 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 && |