diff options
author | Kay Sievers <kay@yik.fritz.box> | 2013-09-12 23:37:23 +0200 |
---|---|---|
committer | Kay Sievers <kay@yik.fritz.box> | 2013-09-12 23:37:23 +0200 |
commit | 6e869e18c07f4251390cbf215532635a85712a6a (patch) | |
tree | d82c57f3fe8fd67f13c26c781db47ad80acf6644 /src/systemctl | |
parent | 79640424059328268b9fb6c5fa8eb777b27a177e (diff) |
shut up gcc complaining about freeing a const variable
Diffstat (limited to 'src/systemctl')
-rw-r--r-- | src/systemctl/systemctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index dc3e41bf42..57e5bb941b 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, |