--- super-ddf.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/super-ddf.c b/super-ddf.c index ff71be2..5a0c998 100644 --- a/super-ddf.c +++ b/super-ddf.c @@ -4170,7 +4170,8 @@ static void ddf_set_disk(struct active_array *a, int n, int state) __func__, dl->pdnum, dl->major, dl->minor, be32_to_cpu(dl->disk.refnum)); dprintf("%s: array %u disk %u ref %08x pd %d\n", - __func__, inst, n_bvd, vc->phys_refnum[n_bvd], pd); + __func__, inst, n_bvd, + be32_to_cpu(vc->phys_refnum[n_bvd]), pd); if ((state & DS_INSYNC) && ! (state & DS_FAULTY)) { pd = dl->pdnum; /* FIXME: is this really correct ? */ vc->phys_refnum[n_bvd] = dl->disk.refnum; -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html