]> xenbits.xensource.com Git - libvirt.git/commitdiff
conf: Fix documentation for virDomainDefGetShortName()
authorAndrea Bolognani <abologna@redhat.com>
Thu, 3 Feb 2022 18:17:24 +0000 (19:17 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 4 Feb 2022 08:30:54 +0000 (09:30 +0100)
The @unique argument didn't exist even when the function was
introduced in a042275a396e, and the @vm argument was not renamed
when the function was changed to take a virDomainDef* instead of
a virDomainObj* in 7ed6934f3b92.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/conf/domain_conf.c

index 467f708350e7b05195964bd0e98d48f4d74923b3..d66496c9b75ba52c36bfcc8e113c88b7e541cde6 100644 (file)
@@ -30086,8 +30086,7 @@ virDomainDefHasMemballoon(const virDomainDef *def)
 
 /**
  * virDomainDefGetShortName:
- * @vm: Machine for which to get a name
- * @unique: Make sure the name is unique (use id as well)
+ * @def: domain definition
  *
  * Shorten domain name to avoid possible path length limitations.
  */