From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-401597-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RRAAA-0004ax-TT
	for garchives@archives.gentoo.org; Thu, 17 Nov 2011 22:10:31 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3CC5AE0540;
	Thu, 17 Nov 2011 22:10:22 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 0D104E0540
	for <gentoo-commits@lists.gentoo.org>; Thu, 17 Nov 2011 22:10:21 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 889981B4011
	for <gentoo-commits@lists.gentoo.org>; Thu, 17 Nov 2011 22:10:21 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id ED71B80042
	for <gentoo-commits@lists.gentoo.org>; Thu, 17 Nov 2011 22:10:20 +0000 (UTC)
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org>
Message-ID: <66e99b6d637edc33047398b467f2b22bc2f04b60.WilliamH@gentoo>
Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/
X-VCS-Repository: proj/openrc
X-VCS-Files: src/rc/mountinfo.c
X-VCS-Directories: src/rc/
X-VCS-Committer: WilliamH
X-VCS-Committer-Name: William Hubbs
X-VCS-Revision: 66e99b6d637edc33047398b467f2b22bc2f04b60
Date: Thu, 17 Nov 2011 22:10:20 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 68d483af-2e53-4645-8548-7ed18d02f77c
X-Archives-Hash: 34f3319f6e029f29d2b2643f162d60ec

commit:     66e99b6d637edc33047398b467f2b22bc2f04b60
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 17 22:06:18 2011 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Nov 17 22:06:18 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D=
commit;h=3D66e99b6d

Fix compile warning

---
 src/rc/mountinfo.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/rc/mountinfo.c b/src/rc/mountinfo.c
index adce434..9382738 100644
--- a/src/rc/mountinfo.c
+++ b/src/rc/mountinfo.c
@@ -391,6 +391,7 @@ mountinfo(int argc, char **argv)
 	int opt;
 	int result;
 	bool quiet;
+	char *this_path;
=20
 	/* Ensure that we are only quiet when explicitly told to be */
 	unsetenv("EINFO_QUIET");
@@ -458,7 +459,7 @@ mountinfo(int argc, char **argv)
 		if (argv[optind][0] !=3D '/')
 			eerrorx("%s: `%s' is not a mount point",
 			    argv[0], argv[optind]);
-		char *this_path =3D argv[optind++];
+		this_path =3D argv[optind++];
 		if (realpath(this_path, real_path))
 			this_path =3D real_path;
 		rc_stringlist_add(args.mounts, this_path);