summaryrefslogtreecommitdiffstats
path: root/login-utils/last.c
diff options
context:
space:
mode:
authorKarel Zak2017-07-10 10:15:22 +0200
committerKarel Zak2017-07-10 10:15:22 +0200
commit6d53d1f99ab3405374e0ebe6c7e9d10d13074dcc (patch)
treeb6932245205b88da3963dbad63bb3f3cace7820c /login-utils/last.c
parentlast: condition (secs == 0) - now handled correctly (diff)
parentsetpriv: silence compiler warning (diff)
downloadkernel-qcow2-util-linux-6d53d1f99ab3405374e0ebe6c7e9d10d13074dcc.tar.gz
kernel-qcow2-util-linux-6d53d1f99ab3405374e0ebe6c7e9d10d13074dcc.tar.xz
kernel-qcow2-util-linux-6d53d1f99ab3405374e0ebe6c7e9d10d13074dcc.zip
Merge branch 'help' of https://github.com/rudimeier/util-linux
* 'help' of https://github.com/rudimeier/util-linux: setpriv: silence compiler warning misc: consolidate macro style USAGE_HELP_OPTIONS blockdev: correct man page name in --help
Diffstat (limited to 'login-utils/last.c')
-rw-r--r--login-utils/last.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/login-utils/last.c b/login-utils/last.c
index 2d7eb049f..f989836ba 100644
--- a/login-utils/last.c
+++ b/login-utils/last.c
@@ -593,8 +593,8 @@ static void __attribute__((__noreturn__)) usage(const struct last_control *ctl)
" notime|short|full|iso\n"), out);
fputs(USAGE_SEPARATOR, out);
- print_usage_help_options(22);
- fprintf(out, USAGE_MAN_TAIL("last(1)"));
+ printf(USAGE_HELP_OPTIONS(22));
+ printf(USAGE_MAN_TAIL("last(1)"));
exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
}