[ovs-dev] [PATCH] hmap: Fix typo in comment.

Ben Pfaff blp at nicira.com
Mon Jul 13 04:04:27 UTC 2015


This particular typo dates to 2010!

Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 lib/hmap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/hmap.c b/lib/hmap.c
index 938dbc2..590b3d7 100644
--- a/lib/hmap.c
+++ b/lib/hmap.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, 2009, 2010, 2012, 2013 Nicira, Inc.
+ * Copyright (c) 2008, 2009, 2010, 2012, 2013, 2015 Nicira, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -55,7 +55,7 @@ hmap_destroy(struct hmap *hmap)
  *
  * This function is appropriate when 'hmap' will soon have about as many
  * elements as it before.  If 'hmap' will likely have fewer elements than
- * before, use hmap_destroy() followed by hmap_clear() to save memory and
+ * before, use hmap_destroy() followed by hmap_init() to save memory and
  * iteration time. */
 void
 hmap_clear(struct hmap *hmap)
-- 
2.1.3




More information about the dev mailing list