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:
cd74095
)
systemctl: fix assertion hit by incorrect comparison
author
Dave Reisner
<dreisner@archlinux.org>
Tue, 15 Jan 2013 23:49:31 +0000
(18:49 -0500)
committer
Dave Reisner
<dreisner@archlinux.org>
Tue, 15 Jan 2013 23:49:31 +0000
(18:49 -0500)
src/systemctl/systemctl.c
patch
|
blob
|
history
diff --git
a/src/systemctl/systemctl.c
b/src/systemctl/systemctl.c
index 66d031dae82aeaf28d366a56c1a9b56098d251c2..7cf51dceb8d5c0d7a67076c3ec80172368b93f4e 100644
(file)
--- a/
src/systemctl/systemctl.c
+++ b/
src/systemctl/systemctl.c
@@
-672,7
+672,7
@@
static int list_unit_files(DBusConnection *bus, char **args) {
UnitFileList *u;
const char *state;
- assert(dbus_message_iter_get_arg_type(&sub)
!
= DBUS_TYPE_STRUCT);
+ assert(dbus_message_iter_get_arg_type(&sub)
=
= DBUS_TYPE_STRUCT);
if (c >= n_units) {
UnitFileList *w;