don't warn for strncpy wtmp fields, they are not NUL terminated.
This commit is contained in:
parent
cc33d2efa6
commit
b15dac3ccb
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.8 2008/10/27 07:57:41 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2019/10/09 22:05:35 christos Exp $
|
||||
# Copyright 2001 Mark R V Murray
|
||||
# All rights reserved.
|
||||
#
|
||||
@ -34,3 +34,7 @@ CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX -DLOGIN_CAP
|
||||
LIBDPLIBS+= util ${.CURDIR}/../../../libutil
|
||||
|
||||
.include "${.CURDIR}/../mod.mk"
|
||||
|
||||
.if ${ACTIVE_CC} == "gcc"
|
||||
COPTS.pam_lastlog.c += -Wno-stringop-truncation
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user