aboutsummaryrefslogtreecommitdiff
path: root/src/rc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc.c')
-rw-r--r--src/rc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc.c b/src/rc.c
index ae08cfa8..76335df8 100644
--- a/src/rc.c
+++ b/src/rc.c
@@ -362,14 +362,14 @@ static int do_options (int argc, char **argv)
eerrorx ("%s: no option specified", applet);
if (strcmp (applet, "get_options") == 0) {
- char *option = rc_service_option_get (service, argv[0]);
+ char *option = rc_service_value_get (service, argv[0]);
if (option) {
printf ("%s", option);
free (option);
ok = true;
}
} else if (strcmp (applet, "save_options") == 0)
- ok = rc_service_option_set (service, argv[0], argv[1]);
+ ok = rc_service_value_set (service, argv[0], argv[1]);
else
eerrorx ("%s: unknown applet", applet);