mirror of https://gitee.com/openkylin/qemu.git
9pfs: local: trivial cosmetic fix in pwritev op
Signed-off-by: Greg Kurz <groug@kaod.org>
This commit is contained in:
parent
0d78289c3d
commit
6fe76acc2d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue