[systemd-commits] src/systemctl

Kay Sievers kay at kemper.freedesktop.org
Thu Sep 12 14:41:29 PDT 2013


 src/systemctl/systemctl.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 6e869e18c07f4251390cbf215532635a85712a6a
Author: Kay Sievers <kay at yik.fritz.box>
Date:   Thu Sep 12 23:37:23 2013 +0200

    shut up gcc complaining about freeing a const variable

diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index dc3e41b..57e5bb9 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -1494,7 +1494,8 @@ static DBusHandlerResult wait_filter(DBusConnection *connection, DBusMessage *me
 
         } else if (dbus_message_is_signal(message, "org.freedesktop.systemd1.Manager", "JobRemoved")) {
                 uint32_t id;
-                const char *path, *result, *unit, *r;
+                const char *path, *result, *unit;
+                char *r;
 
                 if (dbus_message_get_args(message, &error,
                                           DBUS_TYPE_UINT32, &id,



More information about the systemd-commits mailing list