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 67DE513826B for ; Tue, 24 May 2016 16:43:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1E64141F7; Tue, 24 May 2016 16:43:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07ECD141F7 for ; Tue, 24 May 2016 16:43:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23F15340BD7 for ; Tue, 24 May 2016 16:43:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58075AA2 for ; Tue, 24 May 2016 16:43:25 +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: <1464107050.87884db66767eba6317b506a4d7270dd22721831.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/openrc-run.c src/rc/rc.c X-VCS-Directories: src/rc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 87884db66767eba6317b506a4d7270dd22721831 X-VCS-Branch: master Date: Tue, 24 May 2016 16:43:25 +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: b5365697-1a1f-46bb-8dd4-63a36d5289a6 X-Archives-Hash: bd740a703d596d5088e9f86376796b01 commit: 87884db66767eba6317b506a4d7270dd22721831 Author: William Hubbs gmail com> AuthorDate: Tue May 24 16:24:10 2016 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue May 24 16:24:10 2016 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=87884db6 Make deprecation warnings for rc and runscript more visible These warnings were inserted in verbose only mode in OpenRC-0.13.A Now, we are making them more visible in preparation for removing these compatibility binaries in the future. src/rc/openrc-run.c | 2 +- src/rc/rc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rc/openrc-run.c b/src/rc/openrc-run.c index dfb4c6f..275cb32 100644 --- a/src/rc/openrc-run.c +++ b/src/rc/openrc-run.c @@ -1174,7 +1174,7 @@ int main(int argc, char **argv) usage(EXIT_FAILURE); if (runscript) - ewarnv("%s uses runscript, please convert to openrc-run.", service); + ewarn("%s uses runscript, please convert to openrc-run.", service); /* Change dir to / to ensure all init scripts don't use stuff in pwd */ if (chdir("/") == -1) diff --git a/src/rc/rc.c b/src/rc/rc.c index 11170b4..ed06bf7 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -831,7 +831,7 @@ int main(int argc, char **argv) } if (strcmp(applet, "rc") == 0) - ewarnv("rc is deprecated, please use openrc instead."); + ewarn("rc is deprecated, please use openrc instead."); newlevel = argv[optind++]; /* To make life easier, we only have the shutdown runlevel as * nothing really needs to know that we're rebooting.