From: Arran Cudbard-Bell Date: Thu, 4 Nov 2021 19:09:30 +0000 (-0400) Subject: ...and another X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1a0ceef2bf10bd71cfa977964a627489d35e601;p=thirdparty%2Ffreeradius-server.git ...and another --- diff --git a/src/lib/util/cap.c b/src/lib/util/cap.c index 31ec1d3ee0..8529f21f7f 100644 --- a/src/lib/util/cap.c +++ b/src/lib/util/cap.c @@ -300,7 +300,7 @@ ssize_t fr_cap_set_to_str(TALLOC_CTX *ctx, char **out) fr_strerror_printf("Failed retrieving process capabilities: %s", fr_syserror(errno)); return -1; } - tmp = cap_to_text(caps, &len); + tmp = cap_to_text(caps, &slen); cap_free(caps); if (unlikely(!tmp)) { fr_strerror_printf("Failed converting capabilities to string: %s", fr_syserror(errno));