Date: Fri, 13 Oct 2006 15:38:23 +0400 From: Ruslan Ermilov <ru@freebsd.org> To: Dag-Erling Smorgrav <des@freebsd.org>, sanewo@ba2.so-net.ne.jp, src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org Cc: Makoto Matsushita <matusita@jp.FreeBSD.org> Subject: Re: cvs commit: src/sbin/mount mount.c Message-ID: <20061013113823.GE83505@rambler-co.ru> In-Reply-To: <452F7463.40008@jp.FreeBSD.org> References: <200610130701.k9D71LOQ052850@repoman.freebsd.org> <452F7463.40008@jp.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--wTWi5aaYRw9ix9vO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 13, 2006 at 08:11:31PM +0900, Makoto Matsushita wrote: > > Modified files: (Branch: RELENG_6) > > sbin/mount mount.c=20 > > Log: > > Remove "late" from options before passing them to the fs. > > =20 > > Submitted by: SANETO Takanori <sanewo@ba2.so-net.ne.jp> > > Approved by: re (bmah) > > =20 > > Revision Changes Path > > 1.69.2.3 +1 -0 src/sbin/mount/mount.c >=20 > After this commit, I got: >=20 > /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 >=20 > Would you please let me know why? It seems that variable 'fstab' is not > declared in mountfs(). >=20 %%% Index: mount.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D catopt(strdup(mntopts), options); - remopt(fstab, "late"); + remopt(optbuf, "late"); =20 if (strcmp(name, "/") =3D=3D 0) flags |=3D MNT_UPDATE; %%% Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --wTWi5aaYRw9ix9vO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFL3qvqRfpzJluFF4RAthaAJoCpe96R1RNLJ7Wkw6p3Ft6t3QgdACfY/ee a44OCgZ8GrRb1f3ACDoFrXw= =Cwzf -----END PGP SIGNATURE----- --wTWi5aaYRw9ix9vO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061013113823.GE83505>