summaryrefslogtreecommitdiff
path: root/sys/dev/firewire
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>2003-10-01 06:04:30 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>2003-10-01 06:04:30 +0000
commitc727011a76a1101328e51b565a8db69b8221916c (patch)
tree063d7de77e71c2bd4afc934619db430ee77d7952 /sys/dev/firewire
parent1419773de3dc4b581481df3206347c671f35f8fb (diff)
Notes
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r--sys/dev/firewire/fwdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c
index 0d61fb7867e7..545f1cd18666 100644
--- a/sys/dev/firewire/fwdev.c
+++ b/sys/dev/firewire/fwdev.c
@@ -791,7 +791,7 @@ fwdev_clone(void *arg, char *name, int namelen, dev_t *dev)
return;
for (i = 0; i < NDEVTYPE; i++)
- if (dev_stdclone(name, &subp, devnames[i], &unit) != 1)
+ if (dev_stdclone(name, &subp, devnames[i], &unit) == 2)
goto found;
/* not match */
return;