summaryrefslogtreecommitdiff
path: root/src/readahead-collect.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-30 18:06:02 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-30 18:06:02 +0200
commit5b61848df2ce706b9a2915ae180bced0e9debd34 (patch)
tree3f5c694022eae24754a4d9d73bb3fe99650d703c /src/readahead-collect.c
parent010004791c98c6d8ebaa6a260dc42f7ef3a28944 (diff)
readahead: minor 32bit fixes
Diffstat (limited to 'src/readahead-collect.c')
-rw-r--r--src/readahead-collect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readahead-collect.c b/src/readahead-collect.c
index 5c09f7a9e1..75e7a2870b 100644
--- a/src/readahead-collect.c
+++ b/src/readahead-collect.c
@@ -435,7 +435,7 @@ done:
on_ssd = fs_on_ssd(root) > 0;
log_debug("On SSD: %s", yes_no(on_ssd));
- on_btrfs = statfs(root, &sfs) >= 0 && sfs.f_type == BTRFS_SUPER_MAGIC;
+ on_btrfs = statfs(root, &sfs) >= 0 && (long) sfs.f_type == (long) BTRFS_SUPER_MAGIC;
log_debug("On btrfs: %s", yes_no(on_btrfs));
asprintf(&pack_fn, "%s/.readahead", root);