diff options
| author | Mateusz Guzik <mjg@FreeBSD.org> | 2021-11-25 21:43:06 +0000 |
|---|---|---|
| committer | Mateusz Guzik <mjg@FreeBSD.org> | 2021-11-25 22:50:42 +0000 |
| commit | 7e1d3eefd410ca0fbae5a217422821244c3eeee4 (patch) | |
| tree | 4bd504069949f38227970cbe8e49c45665f06279 /sys/dev/beri | |
| parent | c40fee6f7d26862260f0accc1dfeaa7b1328f5fd (diff) | |
Diffstat (limited to 'sys/dev/beri')
| -rw-r--r-- | sys/dev/beri/virtio/virtio_block.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/beri/virtio/virtio_block.c b/sys/dev/beri/virtio/virtio_block.c index ca11e46e9268..45c086f0e0bf 100644 --- a/sys/dev/beri/virtio/virtio_block.c +++ b/sys/dev/beri/virtio/virtio_block.c @@ -241,8 +241,7 @@ open_file(struct beri_vtblk_softc *sc, struct thread *td) int flags; flags = (FREAD | FWRITE); - NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, - sc->mdio->md_file, td); + NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, sc->mdio->md_file); error = vn_open(&nd, &flags, 0, NULL); if (error != 0) return (error); |
