Skip to contentSkip to conversation

man: fix ioctl_xfs_commit_range man page install

PATCH In review Jan Palus 2 participants 2 messages Dec 5, 2024

lore
Share & tools
lore

Jan Palus

author
#0 lore raw

PATCH 1/1 man: fix ioctl_xfs_commit_range man page install

INSTALL_MAN uses first symbol in .SH NAME section for both source and destination filename hence it needs to match current filename. since ioctl_xfs_commit_range.2 documents both ioctl_xfs_start_commit as well as ioctl_xfs_commit_range ensure they are listed in order INSTALL_MAN expects.

---
 man/man2/ioctl_xfs_commit_range.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man/man2/ioctl_xfs_commit_range.2 +1 -1
index 3244e52c..4cd074ed 100644
@@ -22,8 +22,8 @@
 .\" %%%LICENSE_END
 .TH IOCTL-XFS-COMMIT-RANGE 2  2024-02-18 "XFS"
 .SH NAME
-ioctl_xfs_start_commit \- prepare to exchange the contents of two files
 ioctl_xfs_commit_range \- conditionally exchange the contents of parts of two files
+ioctl_xfs_start_commit \- prepare to exchange the contents of two files
 .SH SYNOPSIS
 .br
 .B #include <sys/ioctl.h>
Signature · 1 line
2.47.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Jan Palus

INSTALL_MAN uses first symbol in .SH NAME section for both source and destination filename hence it needs to match current filename. since ioctl_xfs_commit_range.2 documents both ioctl_xfs_start_commit as well as ioctl_xfs_commit_range ensure they are listed in order INSTALL_MAN expects.

Yowza, I did not realize that was a behavior of INSTALL_MAN! Thank you for noticing that. :)

--D

Quoted 22 lines
---
 man/man2/ioctl_xfs_commit_range.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man/man2/ioctl_xfs_commit_range.2 +1 -1
index 3244e52c..4cd074ed 100644
@@ -22,8 +22,8 @@
 .\" %%%LICENSE_END
 .TH IOCTL-XFS-COMMIT-RANGE 2  2024-02-18 "XFS"
 .SH NAME
-ioctl_xfs_start_commit \- prepare to exchange the contents of two files
 ioctl_xfs_commit_range \- conditionally exchange the contents of parts of two files
+ioctl_xfs_start_commit \- prepare to exchange the contents of two files
 .SH SYNOPSIS
 .br
 .B #include <sys/ioctl.h>
Signature · 1 line
2.47.1