[PATCH] util: Fix comment in virBitmapNewData

Martin Kletzander via Devel posted 1 patch 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/83f49f6335e7f2511b168a2bdd998a813b009a2e.1774518456.git.mkletzan@redhat.com
src/util/virbitmap.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH] util: Fix comment in virBitmapNewData
Posted by Martin Kletzander via Devel 1 week ago
From: Martin Kletzander <mkletzan@redhat.com>

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
---
Pushed as trivial.

 src/util/virbitmap.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/util/virbitmap.c b/src/util/virbitmap.c
index 1a3e75671c25..78545501b791 100644
--- a/src/util/virbitmap.c
+++ b/src/util/virbitmap.c
@@ -601,8 +601,7 @@ virBitmapNewCopy(virBitmap *src)
  * Allocate a bitmap from a chunk of data containing bits
  * information
  *
- * Returns a pointer to the allocated bitmap or NULL if
- * memory cannot be allocated.
+ * Returns a pointer to the allocated bitmap.
  */
 virBitmap *
 virBitmapNewData(const void *data,
-- 
2.53.0