hw/9pfs : add space before the open parenthesis '('
authorXinhao Zhang <zhangxinhao1@huawei.com>
Fri, 30 Oct 2020 04:35:15 +0000 (12:35 +0800)
committerChristian Schoenebeck <qemu_oss@crudebyte.com>
Thu, 5 Nov 2020 14:14:03 +0000 (15:14 +0100)
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>
hw/9pfs/cofs.c

index 55991916ec2a61ff69093d5205db3c86f000a741..0b321b456e3eb21a7b620d74233173230cb15ec3 100644 (file)
@@ -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);