From owner-cvs-src@FreeBSD.ORG Fri Oct 13 11:38:23 2006 Return-Path: <owner-cvs-src@FreeBSD.ORG> X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD03316A4E6; Fri, 13 Oct 2006 11:38:23 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCB1843D69; Fri, 13 Oct 2006 11:38:17 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id ABC705ED9; Fri, 13 Oct 2006 15:38:16 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id A207A5ED3; Fri, 13 Oct 2006 15:38:16 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id k9DBcN4D085519; Fri, 13 Oct 2006 15:38:23 +0400 (MSD) (envelope-from ru) 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 Message-ID: <20061013113823.GE83505@rambler-co.ru> References: <200610130701.k9D71LOQ052850@repoman.freebsd.org> <452F7463.40008@jp.FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wTWi5aaYRw9ix9vO" Content-Disposition: inline In-Reply-To: <452F7463.40008@jp.FreeBSD.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: Makoto Matsushita <matusita@jp.FreeBSD.org> Subject: Re: cvs commit: src/sbin/mount mount.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>, <mailto:cvs-src-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/cvs-src> List-Post: <mailto:cvs-src@freebsd.org> List-Help: <mailto:cvs-src-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>, <mailto:cvs-src-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2006 11:38:23 -0000 --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--