diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-02-26 16:10:25 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-02-26 16:10:25 +0000 |
commit | 42b3f377da2203c5253a4fb26078c964ca074699 (patch) | |
tree | 19e0cfc14d8ea38ad8a07048bf5ac9952be058a0 /usr.sbin/relayd/pfe.c | |
parent | 71ade713505846cbd385c4554668951e2ffe732c (diff) |
handle strlcpy return values, make lint happy
Diffstat (limited to 'usr.sbin/relayd/pfe.c')
-rw-r--r-- | usr.sbin/relayd/pfe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/pfe.c b/usr.sbin/relayd/pfe.c index e267d2130b9..c3a3ba14b46 100644 --- a/usr.sbin/relayd/pfe.c +++ b/usr.sbin/relayd/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)); |