From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 44DAC13877A for ; Mon, 11 Aug 2014 19:35:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17B0BE09B9; Mon, 11 Aug 2014 19:35:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2AF17E09B7 for ; Mon, 11 Aug 2014 19:35:26 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E13763414A5 for ; Mon, 11 Aug 2014 18:18:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id A7AAB18815 for ; Mon, 11 Aug 2014 18:18:42 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1407778364.d1e71b07afd4b900894ce4ea45f94010c70e32cc.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/rc-applets.c src/rc/runscript.c X-VCS-Directories: src/rc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: d1e71b07afd4b900894ce4ea45f94010c70e32cc X-VCS-Branch: master Date: Mon, 11 Aug 2014 18:18:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3b68972d-0944-4051-9cee-f1337487019f X-Archives-Hash: 55a423e6a72ba41412530936e63a60d4 Message-ID: <20140811181842.LrSjS1tQOwPnCNTEmeivzqcGKnct9NLuI6jJD8HqZ14@z> commit: d1e71b07afd4b900894ce4ea45f94010c70e32cc Author: William Hubbs gmail com> AuthorDate: Mon Aug 11 17:29:04 2014 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Aug 11 17:32:44 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=d1e71b07 Show rc and runscript deprecation warnings in verbose mode These messages are being changed for this release to show in verbose mode because of the number of times they display. --- src/rc/rc-applets.c | 2 +- src/rc/runscript.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c index b4f61d9..8fe2d22 100644 --- a/src/rc/rc-applets.c +++ b/src/rc/rc-applets.c @@ -539,7 +539,7 @@ run_applets(int argc, char **argv) * "openrc", so output a warning. */ if (strcmp(applet, "rc") == 0) - ewarn("The 'rc' applet is deprecated; please use 'openrc' instead."); + ewarnv("The 'rc' applet is deprecated; please use 'openrc' instead."); /* Bug 351712: We need an extra way to explicitly select an applet OTHER * than trusting argv[0], as argv[0] is not going to be the applet value if * we are doing SELinux context switching. For this, we allow calls such as diff --git a/src/rc/runscript.c b/src/rc/runscript.c index 03d851e..de18f90 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -1389,6 +1389,6 @@ openrc_run(int argc, char **argv) int runscript(int argc, char **argv) { - ewarn("runscript is deprecated; please use openrc-run instead."); + ewarnv("runscript is deprecated; please use openrc-run instead."); return (openrc_run(argc, argv)); }