diff options
author | Matthew Miller <mattdm@mattdm.org> | 2010-08-31 00:23:34 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-31 00:23:34 +0200 |
commit | fdf20a316035779bbec469e11d73c7544acbf30f (patch) | |
tree | c99f2d7a60e5816ff554c48bcfbe497d0c22a30d /src/dbus-manager.c | |
parent | 74ac3cbd509de2f5995542aa5db39328e8cbd22a (diff) |
manager: add missing second part of s/maintenance/failed/
Diffstat (limited to 'src/dbus-manager.c')
-rw-r--r-- | src/dbus-manager.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dbus-manager.c b/src/dbus-manager.c index 9b0a600221..cffa547678 100644 --- a/src/dbus-manager.c +++ b/src/dbus-manager.c @@ -76,7 +76,7 @@ " <arg name=\"mode\" type=\"s\" direction=\"in\"/>\n" \ " <arg name=\"job\" type=\"o\" direction=\"out\"/>\n" \ " </method>\n" \ - " <method name=\"ResetMaintenanceUnit\">\n" \ + " <method name=\"ResetFailedUnit\">\n" \ " <arg name=\"name\" type=\"s\" direction=\"in\"/>\n" \ " </method>\n" \ " <method name=\"GetJob\">\n" \ @@ -84,7 +84,7 @@ " <arg name=\"job\" type=\"o\" direction=\"out\"/>\n" \ " </method>\n" \ " <method name=\"ClearJobs\"/>\n" \ - " <method name=\"ResetMaintenance\"/>\n" \ + " <method name=\"ResetFailed\"/>\n" \ " <method name=\"ListUnits\">\n" \ " <arg name=\"units\" type=\"a(ssssssouso)\" direction=\"out\"/>\n" \ " </method>\n" \ @@ -403,14 +403,14 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection, if (!(reply = dbus_message_new_method_return(message))) goto oom; - } else if (dbus_message_is_method_call(message, "org.freedesktop.systemd1.Manager", "ResetMaintenance")) { + } else if (dbus_message_is_method_call(message, "org.freedesktop.systemd1.Manager", "ResetFailed")) { - manager_reset_maintenance(m); + manager_reset_failed(m); if (!(reply = dbus_message_new_method_return(message))) goto oom; - } else if (dbus_message_is_method_call(message, "org.freedesktop.systemd1.Manager", "ResetMaintenanceUnit")) { + } else if (dbus_message_is_method_call(message, "org.freedesktop.systemd1.Manager", "ResetFailedUnit")) { const char *name; Unit *u; @@ -426,7 +426,7 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection, return bus_send_error_reply(m, connection, message, &error, -ENOENT); } - unit_reset_maintenance(u); + unit_reset_failed(u); if (!(reply = dbus_message_new_method_return(message))) goto oom; |