From: Cole Robinson Date: Wed, 15 Jun 2011 23:35:19 +0000 (-0400) Subject: events: Correct virEventAddTimeout docs X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=27e47955a063ad6f7e854e3a58411892e08efdf3;p=libvirt.git events: Correct virEventAddTimeout docs --- diff --git a/src/util/event.c b/src/util/event.c index 41082217cf..bd781eca33 100644 --- a/src/util/event.c +++ b/src/util/event.c @@ -87,11 +87,11 @@ int virEventRemoveHandle(int watch) { /** * virEventAddTimeout: register a callback for a timer event * - * @frequency: time between events in milliseconds + * @timeout: time between events in milliseconds * @cb: callback to invoke when an event occurs * @opaque: user data to pass to callback * - * Setting frequency to -1 will disable the timer. Setting the frequency + * Setting timeout to -1 will disable the timer. Setting the timeout * to zero will cause it to fire on every event loop iteration. * * returns -1 if the timer cannot be registered, a positive