aboutsummaryrefslogtreecommitdiff
path: root/hw/9pfs
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2017-01-23 09:46:13 +0100
committerGreg Kurz <groug@kaod.org>2017-01-25 09:34:35 +0100
commit6fe76acc2d0fcadb1d827cffffab81d6c8d66704 (patch)
tree15162686e072b669c84afc2c658dbc89d77e3f20 /hw/9pfs
parent0d78289c3dca3de8e614a551a3d4a9415168ace0 (diff)
downloadqemu-6fe76acc2d0fcadb1d827cffffab81d6c8d66704.zip
qemu-6fe76acc2d0fcadb1d827cffffab81d6c8d66704.tar.gz
qemu-6fe76acc2d0fcadb1d827cffffab81d6c8d66704.tar.bz2
9pfs: local: trivial cosmetic fix in pwritev op
Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'hw/9pfs')
-rw-r--r--hw/9pfs/9p-local.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/9pfs/9p-local.c b/hw/9pfs/9p-local.c
index 845675e..7de07e1 100644
--- a/hw/9pfs/9p-local.c
+++ b/hw/9pfs/9p-local.c
@@ -436,8 +436,7 @@ static ssize_t local_pwritev(FsContext *ctx, V9fsFidOpenState *fs,
const struct iovec *iov,
int iovcnt, off_t offset)
{
- ssize_t ret
-;
+ ssize_t ret;
#ifdef CONFIG_PREADV
ret = pwritev(fs->fd, iov, iovcnt, offset);
#else