aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2014-08-11 12:29:04 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2014-08-11 12:32:44 -0500
commitd1e71b07afd4b900894ce4ea45f94010c70e32cc (patch)
tree2899144d901b13bce951242a8fd5303968d1a697 /src/rc
parent7b744befac2049eb6372a7f0c5420c740aa0a4ea (diff)
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.
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/rc-applets.c2
-rw-r--r--src/rc/runscript.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c
index b4f61d9f..8fe2d223 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 03d851e6..de18f90a 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));
}