From 5bf232465b8e0def3c04c6e47745b969162463fe Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 28 Dec 2009 20:54:34 +0000 Subject: Migrate finger(1) away from . Unfortunately it also uses lastlog, which means we must resort to local extensions of the utmpx-interface. Because the user name and TTY name are now nul-terminated, there is no need to copy around strings as often. --- usr.bin/finger/net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin/finger/net.c') diff --git a/usr.bin/finger/net.c b/usr.bin/finger/net.c index 5260a2d..dfc533a 100644 --- a/usr.bin/finger/net.c +++ b/usr.bin/finger/net.c @@ -54,8 +54,9 @@ __FBSDID("$FreeBSD$"); #include #include #include +#define _ULOG_POSIX_NAMES +#include #include -#include #include "finger.h" static void cleanup(int sig); -- cgit v1.1