bitvec: Fix return value in doc for bitvec_write_field()

Change-Id: I629e71242cb6bafa3c1b1d65ae7ec6687ec203d1
diff --git a/src/bitvec.c b/src/bitvec.c
index 0c263ad..ef8621c 100644
--- a/src/bitvec.c
+++ b/src/bitvec.c
@@ -497,7 +497,7 @@
  *  \param[in] bv The boolean vector to work on
  *  \param[in,out] write_index Where writing supposed to start in the vector
  *  \param[in] len How many bits to write
- *  \returns next write index or negative value on error
+ *  \returns 0 on success, negative value on error
  */
 int bitvec_write_field(struct bitvec *bv, unsigned int *write_index, uint64_t val, unsigned int len)
 {