From 76e8cbd8abfef84868fa5cd684dc800ed99c7dce Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sun, 16 Jun 2019 22:26:08 +0200 Subject: bitvec: correct comment in bitvec_alloc The function allocates x bytes not bits for the vector. Change-Id: I60fbe9fe9acd11c5d3232207f1bb677e8a98625f --- src/bitvec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitvec.c b/src/bitvec.c index 0f56e3e9..dac04018 100644 --- a/src/bitvec.c +++ b/src/bitvec.c @@ -401,7 +401,7 @@ int bitvec_set_bytes(struct bitvec *bv, const uint8_t *bytes, unsigned int count } /*! Allocate a bit vector - * \param[in] size Number of bits in the vector + * \param[in] size Number of bytes in the vector * \param[in] ctx Context from which to allocate * \return pointer to allocated vector; NULL in case of error */ struct bitvec *bitvec_alloc(unsigned int size, TALLOC_CTX *ctx) -- cgit v1.2.3