On Fri, Oct 13, 2006 at 08:11:31PM +0900, Makoto Matsushita wrote:
> > Modified files: (Branch: RELENG_6)
> > sbin/mount mount.c
> > Log:
> > Remove "late" from options before passing them to the fs.
> >
> > Submitted by: SANETO Takanori <[EMAIL PROTECTED]>
> > Approved by: re (bmah)
> >
> > Revision Changes Path
> > 1.69.2.3 +1 -0 src/sbin/mount/mount.c
>
> After this commit, I got:
>
> /usr/src/sbin/mount/mount.c: In function `mountfs':
> /usr/src/sbin/mount/mount.c:432: error: `fstab' undeclared (first use in this
> function)
> /usr/src/sbin/mount/mount.c:432: error: (Each undeclared identifier is
> reported only once
> /usr/src/sbin/mount/mount.c:432: error: for each function it appears in.)
> *** Error code 1
>
> Would you please let me know why? It seems that variable 'fstab' is not
> declared in mountfs().
>
%%%
Index: mount.c
===================================================================
RCS file: /home/ncvs/src/sbin/mount/mount.c,v
retrieving revision 1.69.2.3
diff -u -p -r1.69.2.3 mount.c
--- mount.c 13 Oct 2006 07:01:20 -0000 1.69.2.3
+++ mount.c 13 Oct 2006 11:33:19 -0000
@@ -429,7 +429,7 @@ mountfs(vfstype, spec, name, flags, opti
}
}
optbuf = catopt(strdup(mntopts), options);
- remopt(fstab, "late");
+ remopt(optbuf, "late");
if (strcmp(name, "/") == 0)
flags |= MNT_UPDATE;
%%%Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer
pgp9hNjeeqK9J.pgp
Description: PGP signature
