[PATCH 2/7] util: Tiny reword fix in comment

Martin Kletzander mkletzan at redhat.com
Sat Nov 20 23:10:03 UTC 2021


Automatic "Ptr " -> " *" also wreaked havoc in comments.  Fix it and while at it
reword the sentence so it is clear that the object is newly allocated.

Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
 src/util/virpolkit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virpolkit.c b/src/util/virpolkit.c
index e90b3b871d15..86255a96760f 100644
--- a/src/util/virpolkit.c
+++ b/src/util/virpolkit.c
@@ -168,7 +168,7 @@ virPolkitAgentDestroy(virPolkitAgent *agent)
  *
  * Allocate and setup a polkit agent
  *
- * Returns a virCommand *on success and NULL on failure
+ * Returns newly allocated virPolkitAgent * on success and NULL on failure
  */
 virPolkitAgent *
 virPolkitAgentCreate(void)
-- 
2.34.0




More information about the libvir-list mailing list