diff options
Diffstat (limited to 'src/rc/rc-applets.c')
-rw-r--r-- | src/rc/rc-applets.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c index eea4a01d..57d03446 100644 --- a/src/rc/rc-applets.c +++ b/src/rc/rc-applets.c @@ -276,8 +276,8 @@ static int do_service(int argc, char **argv) ok = (rc_service_state(service) & RC_SERVICE_STARTING); else if (strcmp(applet, "service_stopping") == 0) ok = (rc_service_state(service) & RC_SERVICE_STOPPING); - else if (strcmp(applet, "service_coldplugged") == 0) - ok = (rc_service_state(service) & RC_SERVICE_COLDPLUGGED); + else if (strcmp(applet, "service_hotplugged") == 0) + ok = (rc_service_state(service) & RC_SERVICE_HOTPLUGGED); else if (strcmp(applet, "service_wasinactive") == 0) ok = (rc_service_state(service) & RC_SERVICE_WASINACTIVE); else if (strcmp(applet, "service_started_daemon") == 0) { @@ -329,8 +329,8 @@ static int do_mark_service(int argc, char **argv) ok = rc_service_mark(service, RC_SERVICE_STARTING); else if (strcmp(applet, "mark_service_stopping") == 0) ok = rc_service_mark(service, RC_SERVICE_STOPPING); - else if (strcmp(applet, "mark_service_coldplugged") == 0) - ok = rc_service_mark(service, RC_SERVICE_COLDPLUGGED); + else if (strcmp(applet, "mark_service_hotplugged") == 0) + ok = rc_service_mark(service, RC_SERVICE_HOTPLUGGED); else if (strcmp(applet, "mark_service_failed") == 0) ok = rc_service_mark(service, RC_SERVICE_FAILED); else |