aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rc/openrc-run.c2
-rw-r--r--src/rc/rc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/openrc-run.c b/src/rc/openrc-run.c
index dfb4c6fe..275cb320 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 11170b4d..ed06bf76 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.