diff options
author | ed <ed@FreeBSD.org> | 2010-01-13 18:17:53 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-01-13 18:17:53 +0000 |
commit | 57d10a6e95a4cdb97bc1a8c3125f1a2719736ccf (patch) | |
tree | 10b814541a563afa6b8b679658d5f3d3d04162dc /usr.sbin/bsnmpd | |
parent | 7297d6b5779271a7e43264e39e539c880d9d50fa (diff) | |
download | FreeBSD-src-57d10a6e95a4cdb97bc1a8c3125f1a2719736ccf.zip FreeBSD-src-57d10a6e95a4cdb97bc1a8c3125f1a2719736ccf.tar.gz |
Port all applications in usr.sbin/ from libulog to utmpx.
Diffstat (limited to 'usr.sbin/bsnmpd')
-rw-r--r-- | usr.sbin/bsnmpd/modules/snmp_hostres/Makefile | 4 | ||||
-rw-r--r-- | usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile b/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile index 3e9e05f..2922f45 100644 --- a/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile +++ b/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile @@ -69,8 +69,8 @@ MAN= snmp_hostres.3 DEFS= ${MOD}_tree.def BMIBS= BEGEMOT-HOSTRES-MIB.txt -DPADD= ${LIBKVM} ${LIBDEVINFO} ${LIBM} ${LIBGEOM} ${LIBMEMSTAT} ${LIBULOG} -LDADD= -lkvm -ldevinfo -lm -lgeom -lmemstat -lulog +DPADD= ${LIBKVM} ${LIBDEVINFO} ${LIBM} ${LIBGEOM} ${LIBMEMSTAT} +LDADD= -lkvm -ldevinfo -lm -lgeom -lmemstat .include <bsd.snmpmod.mk> diff --git a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c index 8cf648b..f86334e 100644 --- a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c +++ b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c @@ -41,8 +41,7 @@ #include <stdint.h> #include <string.h> #include <syslog.h> -#define _ULOG_POSIX_NAMES -#include <ulog.h> +#include <utmpx.h> #include "hostres_snmp.h" #include "hostres_oid.h" |