diff options
| author | Bram <bram@cbbg.nl> | 2024-07-26 19:34:08 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2024-09-06 18:34:30 +0000 |
| commit | a0d6f89e692a683fc7f558e9eb8a27d30069e949 (patch) | |
| tree | 29a6294e5698df0f2faa4cb2b52a0bd35805c394 /usr.sbin | |
| parent | 71978fa41f2be0ecce7cb10d30242d29d4ccd844 (diff) | |
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/lastlogin/lastlogin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/lastlogin/lastlogin.c b/usr.sbin/lastlogin/lastlogin.c index a1dcde3f60bf..3a71693f7576 100644 --- a/usr.sbin/lastlogin/lastlogin.c +++ b/usr.sbin/lastlogin/lastlogin.c @@ -48,6 +48,8 @@ __RCSID("$NetBSD: lastlogin.c,v 1.4 1998/02/03 04:45:35 perry Exp $"); #include <libxo/xo.h> +#define LASTLOGIN_XO_VERSION "1" + int main(int, char **); static void output(struct utmpx *); static void usage(void); @@ -103,6 +105,7 @@ main(int argc, char *argv[]) argc -= optind; argv += optind; + xo_set_version(LASTLOGIN_XO_VERSION); xo_open_container("lastlogin-information"); xo_open_list("lastlogin"); |
