diff options
| author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2010-06-23 23:03:25 +0000 |
|---|---|---|
| committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2010-06-23 23:03:25 +0000 |
| commit | 4e3eb21c221c67f989e1c0c4b850dc4fbfa4d1ff (patch) | |
| tree | 23fa31c3f6f6d0430d846f942cfe888a3c86ae66 /sys | |
| parent | b6bfb5a01f03ba4c209585c216a45ae976d81c63 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/geom/gate/g_gate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/gate/g_gate.c b/sys/geom/gate/g_gate.c index dd69a87ebfad..e035f97fbefa 100644 --- a/sys/geom/gate/g_gate.c +++ b/sys/geom/gate/g_gate.c @@ -210,7 +210,7 @@ g_gate_start(struct bio *bp) } static struct g_gate_softc * -g_gate_hold(u_int unit, const char *name) +g_gate_hold(int unit, const char *name) { struct g_gate_softc *sc = NULL; @@ -572,8 +572,8 @@ g_gate_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flags, struct threa switch (bp->bio_cmd) { case BIO_READ: - break; case BIO_DELETE: + break; case BIO_WRITE: error = copyout(bp->bio_data, ggio->gctl_data, bp->bio_length); |
