chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
journal-remote: do not attempt to read from µhttpd connections
[elogind.git]
/
src
/
systemctl
/
systemctl.c
diff --git
a/src/systemctl/systemctl.c
b/src/systemctl/systemctl.c
index 8ef3c08db02ec370e25067edcf175472e7abc6d8..5a5681be53417d63529505cb182d897cea64d403 100644
(file)
--- a/
src/systemctl/systemctl.c
+++ b/
src/systemctl/systemctl.c
@@
-1582,7
+1582,7
@@
static int compare_machine_info(const void *a, const void *b) {
const struct machine_info *u = a, *v = b;
if (u->is_host != v->is_host)
- return u->is_host > v->is_host ?
1 : -
1;
+ return u->is_host > v->is_host ?
-1 :
1;
return strcasecmp(u->name, v->name);
}