summaryrefslogtreecommitdiff
path: root/lib/libfrr.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-05-28 20:25:45 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-05-29 18:03:26 +0000
commit67c726a10d90b9edc02e99e5a9064d14f9920309 (patch)
treedcf1188e451c6fac38c5ec64bcd681f3df4815a6 /lib/libfrr.c
parentf9bff3be9ebff9b0edf27b609e1572388d2b9f16 (diff)
lib: fix helpstring truncation
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/libfrr.c')
-rw-r--r--lib/libfrr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfrr.c b/lib/libfrr.c
index 26bdcc1a36..cd5a164c53 100644
--- a/lib/libfrr.c
+++ b/lib/libfrr.c
@@ -81,7 +81,7 @@ static void opt_extend(const struct optspec *os)
const struct option *lo;
strlcat(comb_optstr, os->optstr, sizeof(comb_optstr));
- strlcat(comb_helpstr, os->helpstr, sizeof(comb_optstr));
+ strlcat(comb_helpstr, os->helpstr, sizeof(comb_helpstr));
for (lo = os->longopts; lo->name; lo++)
memcpy(comb_next_lo++, lo, sizeof(*lo));
}