aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-19 20:01:48 +0000
committerRoy Marples <roy@marples.name>2008-03-19 20:01:48 +0000
commit97abd915772777b7bfe56c7d8574394eb9bc7058 (patch)
tree99e3ad3d8c1aba8256e892bf7ed95c19483da522 /src
parent5f091395c7b92211c0d875ee9e4bd49d2efc35b3 (diff)
Report wrong service correctly.
Diffstat (limited to 'src')
-rw-r--r--src/rc/rc-applets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c
index 42f839fa..513e2d93 100644
--- a/src/rc/rc-applets.c
+++ b/src/rc/rc-applets.c
@@ -367,7 +367,7 @@ static int rc_service(_unused int argc, char **argv)
char *service = rc_service_resolve(argv[1]);
if (!service)
- eerrorx("%s: service `%s' does not exist", applet, optarg);
+ eerrorx("%s: service `%s' does not exist", applet, argv[1]);
*++argv = service;
execv(*argv, argv);