chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cryptsetup: handle password=none properly
[elogind.git]
/
src
/
systemctl.c
diff --git
a/src/systemctl.c
b/src/systemctl.c
index d710bcf4421fde8d2cd41266dd7399011a205aa3..372b3d0ca662adeeaba24d5cbc4b541bf4c89f43 100644
(file)
--- a/
src/systemctl.c
+++ b/
src/systemctl.c
@@
-258,7
+258,7
@@
static void warn_wall(enum action action) {
}
if (*p) {
}
if (*p) {
- utmp_wall(p);
+ utmp_wall(p
, NULL
);
free(p);
return;
}
free(p);
return;
}
@@
-269,7
+269,7
@@
static void warn_wall(enum action action) {
if (!table[action])
return;
if (!table[action])
return;
- utmp_wall(table[action]);
+ utmp_wall(table[action]
, NULL
);
}
struct unit_info {
}
struct unit_info {
@@
-1820,9
+1820,9
@@
static void print_status_info(UnitStatusInfo *i) {
if (i->sysfs_path)
printf("\t Device: %s\n", i->sysfs_path);
if (i->sysfs_path)
printf("\t Device: %s\n", i->sysfs_path);
-
else
if (i->where)
+ if (i->where)
printf("\t Where: %s\n", i->where);
printf("\t Where: %s\n", i->where);
-
else
if (i->what)
+ if (i->what)
printf("\t What: %s\n", i->what);
if (i->accept)
printf("\t What: %s\n", i->what);
if (i->accept)