From d88a87d6c4dbfde0d0e5f29c16099a14ee726ce8 Mon Sep 17 00:00:00 2001 From: Dan Kenigsberg Date: Wed, 22 Aug 2018 08:43:32 +0300 Subject: [PATCH] src: storage: Provide a better explanation of virStoragePoolSetAutostart The former documentation was an unhelpful tautology. The suggested doc borrows the wording from virDomainSetAutostart. Signed-off-by: Dan Kenigsberg Reviewed-by: Erik Skultety --- src/libvirt-storage.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libvirt-storage.c b/src/libvirt-storage.c index 1879c6bd60..2ea3e94e45 100644 --- a/src/libvirt-storage.c +++ b/src/libvirt-storage.c @@ -1125,9 +1125,10 @@ virStoragePoolGetAutostart(virStoragePoolPtr pool, /** * virStoragePoolSetAutostart: * @pool: pointer to storage pool - * @autostart: new flag setting + * @autostart: whether the storage pool should be automatically started 0 or 1 * - * Sets the autostart flag + * Configure the storage pool to be automatically started + * when the host machine boots. * * Returns 0 on success, -1 on failure */