diff options
-rw-r--r-- | usr.sbin/inetd/Makefile | 3 | ||||
-rw-r--r-- | usr.sbin/inetd/inetd.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/inetd/Makefile b/usr.sbin/inetd/Makefile index 3f01bb8..e222128 100644 --- a/usr.sbin/inetd/Makefile +++ b/usr.sbin/inetd/Makefile @@ -6,9 +6,10 @@ MAN= inetd.8 MLINKS= inetd.8 inetd.conf.5 SRCS= inetd.c builtins.c -#WARNS?= 2 +WARNS?= 2 CFLAGS+= -DLOGIN_CAP #CFLAGS+= -DSANITY_CHECK +CFLAGS+= -fno-builtin-log DPADD= ${LIBUTIL} ${LIBWRAP} LDADD= -lutil -lwrap diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c index cab156f..d1766da 100644 --- a/usr.sbin/inetd/inetd.c +++ b/usr.sbin/inetd/inetd.c @@ -325,7 +325,7 @@ main(int argc, char **argv) struct passwd *pwd; struct group *grp; struct sigaction sa, saalrm, sachld, sahup, sapipe; - int tmpint, ch, dofork; + int ch, dofork; pid_t pid; char buf[50]; #ifdef LOGIN_CAP |