summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd/syslogd.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-09-29 03:19:25 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-09-29 03:19:25 +0000
commitadbf6d583acd74a8586e5065a0f5d14349740236 (patch)
tree1bf8711c8828fd9537bc043d741e4872a806cf87 /usr.sbin/syslogd/syslogd.c
parentea6506d2a5dcf5f9c587c29c480dc58003bd867c (diff)
Delete the final, inscrutable NOSTRICT and VARARGS lint comments
ok millert@
Diffstat (limited to 'usr.sbin/syslogd/syslogd.c')
-rw-r--r--usr.sbin/syslogd/syslogd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
index 6a609de9fcb..dbb557c97e1 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslogd.c,v 1.189 2015/09/12 13:50:29 bluhm Exp $ */
+/* $OpenBSD: syslogd.c,v 1.190 2015/09/29 03:19:23 guenther Exp $ */
/*
* Copyright (c) 1983, 1988, 1993, 1994
@@ -1799,8 +1799,7 @@ wallmsg(struct filed *f, struct iovec *iov)
reenter = 0;
return;
}
- /* NOSTRICT */
- while (fread((char *)&ut, sizeof(ut), 1, uf) == 1) {
+ while (fread(&ut, sizeof(ut), 1, uf) == 1) {
if (ut.ut_name[0] == '\0')
continue;
/* must use strncpy since ut_* may not be NUL terminated */