diff options
author | trasz <trasz@FreeBSD.org> | 2009-10-10 21:49:04 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-10-10 21:49:04 +0000 |
commit | 2c9565c3a66667195e5ea0136795c947f511fbfc (patch) | |
tree | 0c7c38bf807df32f4ff374b7511d10c0c1d814a8 /sys/dev/fdc | |
parent | 31d083f28a4a30350e3a9a373bc20d5e44c93d5d (diff) | |
download | FreeBSD-src-2c9565c3a66667195e5ea0136795c947f511fbfc.zip FreeBSD-src-2c9565c3a66667195e5ea0136795c947f511fbfc.tar.gz |
Orphaning provider with EXDEV seems weird; perhaps the author meant
ENXIO here?
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r-- | sys/dev/fdc/fdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index a207bfc..b2145cd 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -864,7 +864,7 @@ fdc_worker(struct fdc_data *fdc) fd->flags |= FD_NEWDISK; mtx_unlock(&fdc->fdc_mtx); g_topology_lock(); - g_orphan_provider(fd->fd_provider, EXDEV); + g_orphan_provider(fd->fd_provider, ENXIO); fd->fd_provider->flags |= G_PF_WITHER; fd->fd_provider = g_new_providerf(fd->fd_geom, fd->fd_geom->name); |