--- pyanaconda/isys/devices.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pyanaconda/isys/devices.c b/pyanaconda/isys/devices.c index 5d509c3..a30f006 100644 --- a/pyanaconda/isys/devices.c +++ b/pyanaconda/isys/devices.c @@ -172,7 +172,7 @@ storagedone: } /* S390 channel-to-channnel devices have type 256 */ - if (type != 1 && !strncmp(ent->d_name, "ctc", 3) && type != 256) + if (type != 1 || (!strncmp(ent->d_name, "ctc", 3) && type != 256)) continue; new = calloc(1, sizeof(struct device)); -- 1.7.1.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list