From: John Levon Date: Fri, 25 Mar 2022 16:03:35 +0000 (+0000) Subject: virConnectDomainEventRegisterAny: correct docs X-Git-Tag: v8.2.0-rc2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1ae54ad2edbf8cce44822c6abd013c74e42c690;p=thirdparty%2Flibvirt.git virConnectDomainEventRegisterAny: correct docs The callback ID can be zero, not necessarily positive; correct the comment to reflect this. Signed-off-by: John Levon Reviewed-by: Michal Privoznik --- diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index a197618673..53efb60406 100644 --- a/src/libvirt-domain.c +++ b/src/libvirt-domain.c @@ -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. *