summaryrefslogtreecommitdiffstats
path: root/isys/devices.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-03-20 16:25:12 -0400
committerJeremy Katz <katzj@redhat.com>2008-03-20 16:36:43 -0400
commite865aacec53c4d8f8548dff1e5a986a937606760 (patch)
tree1527fba55c3d3fb1c9000311f19457af323fe4bf /isys/devices.c
parent02bc5431b6fda8b624b7f3d733f31e830abf8a48 (diff)
downloadanaconda-e865aacec53c4d8f8548dff1e5a986a937606760.tar.gz
anaconda-e865aacec53c4d8f8548dff1e5a986a937606760.tar.xz
anaconda-e865aacec53c4d8f8548dff1e5a986a937606760.zip
The units for /sys/block/foo/size aren't bytes. Fixes finding some disks
Diffstat (limited to 'isys/devices.c')
-rw-r--r--isys/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/devices.c b/isys/devices.c
index f61daf88b..69a002053 100644
--- a/isys/devices.c
+++ b/isys/devices.c
@@ -33,7 +33,7 @@
#include "devices.h"
/* for 'disks', to filter out weird stuff */
-#define MINIMUM_INTERESTING_SIZE 32*1048576 /* 32MB */
+#define MINIMUM_INTERESTING_SIZE 32*1024 /* 32MB */
/* from genhd.h, kernel side */
#define GENHD_FL_REMOVABLE 1