]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix documentation of virStoragePoolUndefine return
authorThomas Treutner <thomas@scripty.at>
Wed, 22 Jul 2009 06:41:40 +0000 (08:41 +0200)
committerDaniel Veillard <veillard@redhat.com>
Wed, 22 Jul 2009 06:41:40 +0000 (08:41 +0200)
* src/libvirt.c: the documented return was wrong

src/libvirt.c

index a2aa781d541bb0c1a990bbe1ae1aadffffceb2c8..8ee7741a5f91e258355c727bbb0f6f39cb4ff10a 100644 (file)
@@ -6671,7 +6671,7 @@ error:
  *
  * Undefine an inactive storage pool
  *
- * Returns a virStoragePoolPtr object, or NULL if creation failed
+ * Returns 0 on success, -1 on failure
  */
 int
 virStoragePoolUndefine(virStoragePoolPtr pool)