[libvirt] [PATCH] man: fix section of virt-sanlock-cleanup

Christian Ehrhardt christian.ehrhardt at canonical.com
Thu Jan 16 10:42:12 UTC 2020


Reported at buld time by litian:
manpage-section-mismatch usr/share/man/man8/virt-sanlock-cleanup.8.gz:3 8 != 1

And indeed the rst file says 1 while the makefile say 8:
 if WITH_SANLOCK
   manpages8_rst += manpages/virt-sanlock-cleanup.rst
 else ! WITH_SANLOCK

8 "System administration commands and daemons" seems to match, so fix
the rst file to match.

Signed-off-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>
---
 docs/manpages/virt-sanlock-cleanup.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/manpages/virt-sanlock-cleanup.rst b/docs/manpages/virt-sanlock-cleanup.rst
index ac49fa4191..3ad70ce683 100644
--- a/docs/manpages/virt-sanlock-cleanup.rst
+++ b/docs/manpages/virt-sanlock-cleanup.rst
@@ -6,7 +6,7 @@ virt-sanlock-cleanup
 remove stale sanlock resource lease files
 -----------------------------------------
 
-:Manual section: 1
+:Manual section: 8
 :Manual group: Virtualization Support
 
 .. contents::
-- 
2.25.0





More information about the libvir-list mailing list