[Qemu-devel] [PATCH v2 08/12] qht: fix comment in qht_bucket_remove_entry

Emilio G. Cota posted 12 patches 7 years, 1 month ago
[Qemu-devel] [PATCH v2 08/12] qht: fix comment in qht_bucket_remove_entry
Posted by Emilio G. Cota 7 years, 1 month ago
Signed-off-by: Emilio G. Cota <cota@braap.org>
---
 util/qht.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/qht.c b/util/qht.c
index 50ed7a2102..3564a7e20f 100644
--- a/util/qht.c
+++ b/util/qht.c
@@ -671,7 +671,7 @@ qht_entry_move(struct qht_bucket *to, int i, struct qht_bucket *from, int j)
 }
 
 /*
- * Find the last valid entry in @head, and swap it with @orig[pos], which has
+ * Find the last valid entry in @orig, and swap it with @orig[pos], which has
  * just been invalidated.
  */
 static inline void qht_bucket_remove_entry(struct qht_bucket *orig, int pos)
-- 
2.17.1