summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ciss/ciss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index ab4dbfb..51a8222 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -2949,7 +2949,7 @@ ciss_name_device(struct ciss_softc *sc, int bus, int target)
{
struct cam_periph *periph;
- if (CISS_IS_PHYSICAL(bus) == 0)
+ if (CISS_IS_PHYSICAL(bus))
return (0);
if ((periph = ciss_find_periph(sc, bus, target)) != NULL) {
sprintf(sc->ciss_logical[bus][target].cl_name, "%s%d",
OpenPOWER on IntegriCloud