On Thu, Apr 28, 2016 at 01:06:36PM +0200, Mattias Andrée wrote:
> On Thu, 28 Apr 2016 13:04:47 +0200
> Petr Vaněk <[email protected]> wrote:
> 
> > Without any functional change.
> > ---
> >  mount.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/mount.c b/mount.c
> > index 2eb175c..ba97412 100644
> > --- a/mount.c
> > +++ b/mount.c
> > @@ -263,7 +263,7 @@ main(int argc, char *argv[])
> >                             }
> >                             if (!fsopts[0])
> >                                     estrlcat(fsopts,
> > me->mnt_opts, sizeof(fsopts));
> > -
> > parseopts(fsopts, &flags, data, sizeof(data));
> > +                           parseopts(fsopts,
> > &flags, data, sizeof(data)); if (!types)
> >                                     types =
> > me->mnt_type; goto mountsingle;
> 
> To me it looks like { } are missing, but the
> indentation is correct. Are you sure it is the
> indentation that is wrong?

I did some testing of both, with and without { }. It sets the fsopts
correctly in both cases.

Petr

Reply via email to