X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=lib%2Fhmap.c;h=b70ce5180af1c0592eccc427d88183887634fe6a;hb=8f79bb4d3999d993424e9578342b4130d10a556c;hp=542d8b5a8eb73550df8cb2322b9eb434a6f69bc9;hpb=e58f91a15a38ad2d26d77b77b2f1c84f6c6b06dc;p=cascardo%2Fovs.git diff --git a/lib/hmap.c b/lib/hmap.c index 542d8b5a8..b70ce5180 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. @@ -21,7 +21,7 @@ #include "coverage.h" #include "random.h" #include "util.h" -#include "vlog.h" +#include "openvswitch/vlog.h" VLOG_DEFINE_THIS_MODULE(hmap); @@ -54,8 +54,8 @@ hmap_destroy(struct hmap *hmap) * not free memory allocated for '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 + * elements as it did before. If 'hmap' will likely have fewer elements than + * before, use hmap_destroy() followed by hmap_init() to save memory and * iteration time. */ void hmap_clear(struct hmap *hmap)