X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemctl.c;h=372b3d0ca662adeeaba24d5cbc4b541bf4c89f43;hb=92ab323c824300683efb11fd43c9d834cea9b9e6;hp=d710bcf4421fde8d2cd41266dd7399011a205aa3;hpb=4fbf50b38e847aaa2932ac542e20c62f0c1605a3;p=elogind.git diff --git a/src/systemctl.c b/src/systemctl.c index d710bcf44..372b3d0ca 100644 --- a/src/systemctl.c +++ b/src/systemctl.c @@ -258,7 +258,7 @@ static void warn_wall(enum action action) { } if (*p) { - utmp_wall(p); + utmp_wall(p, NULL); free(p); return; } @@ -269,7 +269,7 @@ static void warn_wall(enum action action) { if (!table[action]) return; - utmp_wall(table[action]); + utmp_wall(table[action], NULL); } 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); - else if (i->where) + if (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)