summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 42f839f..513e2d9 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);