diff options
| author | Hidetoshi Shimokawa <simokawa@FreeBSD.org> | 2003-11-07 12:30:57 +0000 |
|---|---|---|
| committer | Hidetoshi Shimokawa <simokawa@FreeBSD.org> | 2003-11-07 12:30:57 +0000 |
| commit | 3a927c871a81f2dff58f52d96feefb7239ac76c3 (patch) | |
| tree | 1eee1051cbc701d3d5b2dc96712aa509ac12dbca /sys/dev/firewire | |
| parent | 15d25d32ea0cbdcf3b8928034362b418d1bbbd91 (diff) | |
Notes
Diffstat (limited to 'sys/dev/firewire')
| -rw-r--r-- | sys/dev/firewire/fwdev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c index 56ff4c5fa955..3337080bb1c1 100644 --- a/sys/dev/firewire/fwdev.c +++ b/sys/dev/firewire/fwdev.c @@ -170,12 +170,12 @@ fw_open (dev_t dev, int flags, int fmt, fw_proc *td) { int err = 0; - if (dev->si_drv1 != NULL) - return (EBUSY); - if (DEV_FWMEM(dev)) return fwmem_open(dev, flags, fmt, td); + if (dev->si_drv1 != NULL) + return (EBUSY); + #if __FreeBSD_version >= 500000 if ((dev->si_flags & SI_NAMED) == 0) { int unit = DEV2UNIT(dev); |
