diff options
-rw-r--r-- | libdiskfs/filedev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/filedev.c b/libdiskfs/filedev.c index e0ae7f4c..31180aed 100644 --- a/libdiskfs/filedev.c +++ b/libdiskfs/filedev.c @@ -73,8 +73,8 @@ diskfs_get_file_device (char *name, if (!err && (start || size)) /* Extract the device block addresses. */ { - size_t runs_len = ints[3]; - if (runs_len != 2) + size_t num_runs = ints[3]; + if (num_runs != 1) /* We can't handle anything but a contiguous set of blocks. */ err = ENODEV; /* XXX */ else |