]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: Tiny reword fix in comment
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 16 Nov 2021 13:35:34 +0000 (14:35 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 23 Nov 2021 11:51:09 +0000 (12:51 +0100)
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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virpolkit.c

index e90b3b871d1519d978580d56d7b9a4d13f396bfa..86255a96760ffb73aacd9864b769f2aa3b726f7a 100644 (file)
@@ -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)