]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getdents.2: Minor fixes
authorNicolas François <nicolas.francois@centraliens.net>
Sun, 27 Sep 2009 07:26:27 +0000 (09:26 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 28 Sep 2009 10:46:23 +0000 (12:46 +0200)
2 typos:
 * Wrong end of comments
 * etx3 should be ext3

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/getdents.2

index 56a7ff4169f7ee9b64c0030cbb037b67d72bc3d2..d432d0f51389db0fb6f9719f4a0c4a474d1c2d7b 100644 (file)
@@ -66,7 +66,7 @@ struct linux_dirent {
                         /* length is actually (d_reclen \- 2 \-
                            offsetof(struct linux_dirent, d_name) */
     /*
-    char           pad;       // Zero padding byte */
+    char           pad;       // Zero padding byte
     char           d_type;    // File type (only since Linux 2.6.4;
                               // offset is (d_reclen \- 1))
     */
@@ -128,7 +128,7 @@ attempting to access this field always provides the value 0
 Currently,
 .\" kernel 2.6.27
 .\" The same sentence is in readdir.2
-only some file systems (among them: Btrfs, ext2, etx3, and ext4)
+only some file systems (among them: Btrfs, ext2, ext3, and ext4)
 have full support for returning the file type in
 .IR d_type .
 All applications must properly handle a return of