summaryrefslogtreecommitdiff
path: root/usr.sbin/hoststated/pfe.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-02-26 16:10:25 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-02-26 16:10:25 +0000
commit42b3f377da2203c5253a4fb26078c964ca074699 (patch)
tree19e0cfc14d8ea38ad8a07048bf5ac9952be058a0 /usr.sbin/hoststated/pfe.c
parent71ade713505846cbd385c4554668951e2ffe732c (diff)
handle strlcpy return values, make lint happy
Diffstat (limited to 'usr.sbin/hoststated/pfe.c')
-rw-r--r--usr.sbin/hoststated/pfe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/hoststated/pfe.c b/usr.sbin/hoststated/pfe.c
index e267d2130b9..c3a3ba14b46 100644
--- a/usr.sbin/hoststated/pfe.c
+++ b/usr.sbin/hoststated/pfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfe.c,v 1.17 2007/02/23 00:28:06 deraadt Exp $ */
+/* $OpenBSD: pfe.c,v 1.18 2007/02/26 16:10:24 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -691,7 +691,7 @@ pfe_sync(void)
continue;
log_debug("pfe_sync: demote %d table '%s' group '%s'",
demote.level, table->name, table->demote_group);
- strlcpy(demote.group, table->demote_group,
+ (void)strlcpy(demote.group, table->demote_group,
sizeof(demote.group));
imsg_compose(ibuf_main, IMSG_DEMOTE, 0, 0,
&demote, sizeof(demote));