aboutsummaryrefslogtreecommitdiff
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
parent0d78289c3dca3de8e614a551a3d4a9415168ace0 (diff)
9pfs: local: trivial cosmetic fix in pwritev op
Signed-off-by: Greg Kurz <groug@kaod.org>
-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 845675e7a1..7de07e1ba6 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