]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virConnectDomainEventRegisterAny: correct docs
authorJohn Levon <levon@movementarian.org>
Fri, 25 Mar 2022 16:03:35 +0000 (16:03 +0000)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 28 Mar 2022 13:58:41 +0000 (15:58 +0200)
The callback ID can be zero, not necessarily positive; correct the
comment to reflect this.

Signed-off-by: John Levon <levon@movementarian.org>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt-domain.c

index a197618673c2f5ca44c81145392bc106ff4e2cf9..53efb6040698453f3a2fd5895427a9ad0384578a 100644 (file)
@@ -9486,7 +9486,7 @@ virDomainMigrateStartPostCopy(virDomainPtr domain,
  * The reference can be released once the object is no longer required
  * by calling virDomainFree().
  *
- * The return value from this method is a positive integer identifier
+ * The return value from this method is a non-negative integer identifier
  * for the callback. To unregister a callback, this callback ID should
  * be passed to the virConnectDomainEventDeregisterAny() method.
  *