summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorXinhao Zhang2020-10-30 05:35:15 +0100
committerChristian Schoenebeck2020-11-05 15:14:03 +0100
commit22e13675874dabcb314de98134fe6142cd9864a7 (patch)
treeb7c81c5ee424ce77476ee0dc7cd39297873e349a /hw
parenthw/9pfs : open brace '{' following struct go on the same line (diff)
downloadqemu-22e13675874dabcb314de98134fe6142cd9864a7.tar.gz
qemu-22e13675874dabcb314de98134fe6142cd9864a7.tar.xz
qemu-22e13675874dabcb314de98134fe6142cd9864a7.zip
hw/9pfs : add space before the open parenthesis '('
Fix code style. Space required before the open parenthesis '('. Signed-off-by: Xinhao Zhang <zhangxinhao1@huawei.com> Signed-off-by: Kai Deng <dengkai1@huawei.com> Reported-by: Euler Robot <euler.robot@huawei.com> Reviewed-by: Greg Kurz <groug@kaod.org> Message-Id: <20201030043515.1030223-3-zhangxinhao1@huawei.com> Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/9pfs/cofs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c
index 55991916ec..0b321b456e 100644
--- a/hw/9pfs/cofs.c
+++ b/hw/9pfs/cofs.c
@@ -23,7 +23,7 @@ static ssize_t __readlink(V9fsState *s, V9fsPath *path, V9fsString *buf)
ssize_t len, maxlen = PATH_MAX;
buf->data = g_malloc(PATH_MAX);
- for(;;) {
+ for (;;) {
len = s->ops->readlink(&s->ctx, path, buf->data, maxlen);
if (len < 0) {
g_free(buf->data);