diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2011-11-06 23:06:38 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2011-11-07 01:09:53 +0100 |
commit | 0ad26e09de813857382ec3a787fc6df5e52cf98b (patch) | |
tree | fb625b2733152c3bc8354b73ccda55b8d629da3a /src/systemctl.c | |
parent | 4cbd9ecf45f64c3a9acc99d473fbf3be3687ae24 (diff) |
utmp: remove unneded parameters
With these functions no caller ever passes anything else than 0
for 't' (meaning the current time will be used).
Diffstat (limited to 'src/systemctl.c')
-rw-r--r-- | src/systemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl.c b/src/systemctl.c index 175159d68f..7373e64e8c 100644 --- a/src/systemctl.c +++ b/src/systemctl.c @@ -5156,7 +5156,7 @@ static int halt_main(DBusConnection *bus) { if (!arg_no_wtmp) { if (sd_booted() > 0) log_debug("Not writing utmp record, assuming that systemd-update-utmp is used."); - else if ((r = utmp_put_shutdown(0)) < 0) + else if ((r = utmp_put_shutdown()) < 0) log_warning("Failed to write utmp record: %s", strerror(-r)); } |