diff options
author | Neil Brown <neilb@suse.de> | 2002-03-20 23:39:50 +0100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2002-03-20 23:39:50 +0100 |
commit | 11a3e71da434939895cc504e20e735eb656b1c74 (patch) | |
tree | 96e43f983f95a1db8ab74550ce90d855bf1511bd /Detail.c | |
parent | mdadm-0.7.1 (diff) | |
download | mdadm-11a3e71da434939895cc504e20e735eb656b1c74.tar.xz mdadm-11a3e71da434939895cc504e20e735eb656b1c74.zip |
mdadm-0.7.2mdadm-0.7.2
Diffstat (limited to 'Detail.c')
-rw-r--r-- | Detail.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -83,9 +83,12 @@ int Detail(char *dev, int brief) else { long array_size; long long larray_size; +#ifdef BLKGETSIZE64 if (ioctl(fd, BLKGETSIZE64, &larray_size)==0) ; - else if (ioctl(fd, BLKGETSIZE, &array_size)==0) + else +#endif + if (ioctl(fd, BLKGETSIZE, &array_size)==0) larray_size = array_size<<9; else larray_size = 0; |