]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
...and another
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 4 Nov 2021 19:09:30 +0000 (15:09 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 4 Nov 2021 19:09:30 +0000 (15:09 -0400)
src/lib/util/cap.c

index 31ec1d3ee096a6f52e197ea8852db68c9264d7f6..8529f21f7ff0dc66a1e67bce293adb9e64e04d87 100644 (file)
@@ -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));