]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: fix a comment in the generated src/fs-is-local.h file
authorCollin Funk <collin.funk1@gmail.com>
Tue, 11 Nov 2025 23:37:44 +0000 (15:37 -0800)
committerCollin Funk <collin.funk1@gmail.com>
Tue, 11 Nov 2025 23:37:44 +0000 (15:37 -0800)
Reported by Bruno Haible in
<https://lists.gnu.org/r/coreutils/2025-11/msg00113.html>.

* src/extract-magic ($magic_comment): Mention that the function returns
1 if the file system is local and 0 if it is remote.

src/extract-magic

index 978c88a8c232ac536663ce3dce3b204774ed893d..b9b4f8e387b2832b029ed94c733b67a4c6f7bf2f 100644 (file)
@@ -114,8 +114,8 @@ EOF
 
   my $map_comment = <<EOF;
 /* Map each S_MAGIC_* value to 1, 0 or -1.
-   1 if it is known to be a remote file system type,
-   0 if it is known to be a local file system type, or -1 otherwise.  */
+   1 if it is known to be a local file system type,
+   0 if it is known to be a remote file system type, or -1 otherwise.  */
 EOF
   my $magic_comment = <<EOF;
 /* Define the magic numbers as given by statfs(2).