]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
listmount.2: Fix off-by-one bug in description about continuing the iteration
authorJeff Layton <jlayton@kernel.org>
Wed, 13 Nov 2024 14:49:02 +0000 (09:49 -0500)
committerAlejandro Colomar <alx@kernel.org>
Sun, 17 Nov 2024 01:00:02 +0000 (02:00 +0100)
The "+1" is wrong, since the kernel already increments the last_id.

Cc: Miklos Szeredi <miklos@szeredi.hu>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Christian Brauner <brauner@kernel.org>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Message-ID: <20241113-main-v1-1-a6b738d56e55@kernel.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/listmount.2

index 717581b85e12dc172b7c478b4608665e9da74933..00ac6a60c0cfead5c462fcac44e61647d841ffe5 100644 (file)
@@ -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