bitvec: correct comment in bitvec_alloc

The function allocates x bytes not bits for the vector.

Change-Id: I60fbe9fe9acd11c5d3232207f1bb677e8a98625f
This commit is contained in:
Alexander Couzens 2019-06-16 22:26:08 +02:00 committed by laforge
parent dda07be055
commit 76e8cbd8ab
1 changed files with 1 additions and 1 deletions

View File

@ -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)