]> git.ipfire.org Git - people/ms/systemd.git/commitdiff
service: fix serialization of exec id
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Apr 2010 23:04:31 +0000 (01:04 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Apr 2010 23:04:31 +0000 (01:04 +0200)
service.c

index 42ce3dcbd744a9b68a987d11782b8e3f955f1ddd..40a02c16e9a99d7211131db103a3667134514ded 100644 (file)
--- a/service.c
+++ b/service.c
@@ -1805,7 +1805,7 @@ static int service_serialize(Unit *u, FILE *f, FDSet *fds) {
          * commands attached here, we will start from the first one
          * again */
         if (s->control_command_id >= 0)
-                unit_serialize_item(u, f, "control-command", mount_exec_command_to_string(s->control_command_id));
+                unit_serialize_item(u, f, "control-command", service_exec_command_to_string(s->control_command_id));
 
         if (s->socket_fd >= 0) {
                 int copy;