public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH manpages] listmount.2: fix verbiage about continuing the iteration
@ 2024-11-13 14:49 Jeff Layton
  2024-11-13 15:59 ` Alejandro Colomar
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Layton @ 2024-11-13 14:49 UTC (permalink / raw)
  To: Alejandro Colomar
  Cc: Josef Bacik, Miklos Szeredi, linux-man, linux-fsdevel,
	Jeff Layton

The "+1" is wrong, since the kernel already increments the last_id. Fix
the manpage verbiage.

Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
 man/man2/listmount.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/man2/listmount.2 b/man/man2/listmount.2
index 717581b85e12dc172b7c478b4608665e9da74933..00ac6a60c0cfead5c462fcac44e61647d841ffe5 100644
--- a/man/man2/listmount.2
+++ b/man/man2/listmount.2
@@ -67,7 +67,7 @@ is used to tell the kernel what mount ID to start the list from.
 This is useful if multiple calls to
 .BR listmount (2)
 are required.
-This can be set to the last mount ID returned + 1 in order to
+This can be set to the last mount ID returned in order to
 resume from a previous spot in the list.
 .SH RETURN VALUE
 On success, the number of entries filled into

---
base-commit: df69651a5c1abb61bd0d7ba0791f65f427923f75
change-id: 20241113-main-192abec3348e

Best regards,
-- 
Jeff Layton <jlayton@kernel.org>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-11-17  1:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13 14:49 [PATCH manpages] listmount.2: fix verbiage about continuing the iteration Jeff Layton
2024-11-13 15:59 ` Alejandro Colomar
2024-11-13 17:12   ` Jeff Layton
2024-11-17  1:00     ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox