mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-07 04:26:22 +00:00
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>
This commit is contained in:
parent
487729e9f6
commit
22e1367587
@ -23,7 +23,7 @@ static ssize_t __readlink(V9fsState *s, V9fsPath *path, V9fsString *buf)
|
|||||||
ssize_t len, maxlen = PATH_MAX;
|
ssize_t len, maxlen = PATH_MAX;
|
||||||
|
|
||||||
buf->data = g_malloc(PATH_MAX);
|
buf->data = g_malloc(PATH_MAX);
|
||||||
for(;;) {
|
for (;;) {
|
||||||
len = s->ops->readlink(&s->ctx, path, buf->data, maxlen);
|
len = s->ops->readlink(&s->ctx, path, buf->data, maxlen);
|
||||||
if (len < 0) {
|
if (len < 0) {
|
||||||
g_free(buf->data);
|
g_free(buf->data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user