diff --git a/fs/v9fs/client.c b/fs/v9fs/client.c index 41e049f533..ca2f35d496 100644 --- a/fs/v9fs/client.c +++ b/fs/v9fs/client.c @@ -1555,6 +1555,7 @@ int v9fs_client_walk(FAR struct v9fs_client_s *client, FAR const char *path, } name_len = strlen(start); + end = start + name_len - 1; } else {