diff options
author | Ed Schouten <ed@FreeBSD.org> | 2010-01-13 17:50:58 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2010-01-13 17:50:58 +0000 |
commit | 550dcc5960c0e93df52fc5e9363cacfa935849d3 (patch) | |
tree | 2e61d6f2e0071a081823bc0ca29691f503567f51 /usr.bin/finger/finger.c | |
parent | d0632ec94a3324d6f9f2405688e96bd2536a45e6 (diff) |
Migrate finger(1) towards utmpx.
It was already ported to use libulog, which makes it simpler now. Be
sure to catch the error returned by setutxdb(). Otherwise it may perform
a lookup on the utx.active database.
Notes
Notes:
svn path=/head/; revision=202191
Diffstat (limited to 'usr.bin/finger/finger.c')
-rw-r--r-- | usr.bin/finger/finger.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/finger/finger.c b/usr.bin/finger/finger.c index 88b39fa21d9a..ae2766f08ee2 100644 --- a/usr.bin/finger/finger.c +++ b/usr.bin/finger/finger.c @@ -82,9 +82,8 @@ __FBSDID("$FreeBSD$"); #include <stdlib.h> #include <string.h> #include <time.h> -#define _ULOG_POSIX_NAMES -#include <ulog.h> #include <unistd.h> +#include <utmpx.h> #include <locale.h> #include "finger.h" |