diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-17 17:16:53 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-17 17:16:53 +0000 |
| commit | f3732fd15b5a493a090a0453f937a78949c65f7d (patch) | |
| tree | fe8b297144afd6d6f7db41275c72cb5eb663ec02 /sys/dev/firewire | |
| parent | c0d431fe315475c5fe50084db455416148d57914 (diff) | |
Notes
Diffstat (limited to 'sys/dev/firewire')
| -rw-r--r-- | sys/dev/firewire/fwdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c index 5d104156ba03..cffb6369b747 100644 --- a/sys/dev/firewire/fwdev.c +++ b/sys/dev/firewire/fwdev.c @@ -848,7 +848,7 @@ fwdev_clone(void *arg, char *name, int namelen, struct cdev **dev) int devflag[NDEVTYPE] = {0, FWMEM_FLAG}; int i, unit = 0, sub = 0; - if (*dev != NODEV) + if (*dev != NULL) return; for (i = 0; i < NDEVTYPE; i++) |
