chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7964042
)
shut up gcc complaining about freeing a const variable
author
Kay Sievers
<kay@yik.fritz.box>
Thu, 12 Sep 2013 21:37:23 +0000
(23:37 +0200)
committer
Kay Sievers
<kay@yik.fritz.box>
Thu, 12 Sep 2013 21:37:23 +0000
(23:37 +0200)
src/systemctl/systemctl.c
patch
|
blob
|
history
diff --git
a/src/systemctl/systemctl.c
b/src/systemctl/systemctl.c
index dc3e41bf420b69f8faa6cbbe9bb88fec4e423182..57e5bb941b50338db49ce2a6fd16872640318dc3 100644
(file)
--- 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,