aboutsummaryrefslogtreecommitdiffstats
path: root/sys/dev/ciss/ciss.c
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2004-07-28 06:19:54 +0000
committerPaul Saab <ps@FreeBSD.org>2004-07-28 06:19:54 +0000
commit47af04f6baaacf2a97b8f45b07015e7e5747b7df (patch)
tree487ecdc6c56efcc887d539eb44664ce4c8b9985d /sys/dev/ciss/ciss.c
parent508330f870cfc17fc57ee36d74180bb94324427b (diff)
downloadsrc-47af04f6baaacf2a97b8f45b07015e7e5747b7df.tar.gz
src-47af04f6baaacf2a97b8f45b07015e7e5747b7df.zip
MFC: rev 1.55, Name non-physical devices.
Notes
Notes: svn path=/stable/4/; revision=132770
Diffstat (limited to 'sys/dev/ciss/ciss.c')
-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 e28369cb2986..9f248ada2667 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -2946,7 +2946,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",