diff --git a/fs/v9fs/client.c b/fs/v9fs/client.c index 8f2257b9a3b..e00fdc7cee1 100644 --- a/fs/v9fs/client.c +++ b/fs/v9fs/client.c @@ -1658,7 +1658,13 @@ int v9fs_client_init(FAR struct v9fs_client_s *client, client->msize = atoi(options + 6); } - options += length + 1; + /* The last option has no comma after it */ + + options += length; + if (*options == ',') + { + options++; + } } if (client->msize == 0)