summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relayd.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/relayd/relayd.c
parent71ade713505846cbd385c4554668951e2ffe732c (diff)
handle strlcpy return values, make lint happy
Diffstat (limited to 'usr.sbin/relayd/relayd.c')
-rw-r--r--usr.sbin/relayd/relayd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/relayd.c b/usr.sbin/relayd/relayd.c
index 52755b0b646..f84b52eeb18 100644
--- a/usr.sbin/relayd/relayd.c
+++ b/usr.sbin/relayd/relayd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.c,v 1.19 2007/02/23 00:28:06 deraadt Exp $ */
+/* $OpenBSD: relayd.c,v 1.20 2007/02/26 16:10:24 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -607,7 +607,7 @@ expand_string(char *label, size_t len, const char *srch, const char *repl)
log_debug("expand_string: string too long");
return (-1);
}
- strlcpy(label, tmp, len); /* always fits */
+ (void)strlcpy(label, tmp, len); /* always fits */
free(tmp);
return (0);