diff --git a/phases/ephemeral/docs.md b/phases/ephemeral/docs.md index 484d64d98..09c8dac51 100644 --- a/phases/ephemeral/docs.md +++ b/phases/ephemeral/docs.md @@ -558,13 +558,13 @@ The serial number of the file referred to by this directory entry. Offset: 8 -- `d_namlen`: [`dirnamlen`](#dirnamlen) -The length of the name of the directory entry. +- `d_type`: [`filetype`](#filetype) +The type of the file referred to by this directory entry. Offset: 16 -- `d_type`: [`filetype`](#filetype) -The type of the file referred to by this directory entry. +- `d_namlen`: [`dirnamlen`](#dirnamlen) +The length of the name of the directory entry. Offset: 20 diff --git a/phases/ephemeral/witx/typenames.witx b/phases/ephemeral/witx/typenames.witx index 9efff7290..349952a15 100644 --- a/phases/ephemeral/witx/typenames.witx +++ b/phases/ephemeral/witx/typenames.witx @@ -367,10 +367,10 @@ (field $d_next $dircookie) ;;; The serial number of the file referred to by this directory entry. (field $d_ino $inode) - ;;; The length of the name of the directory entry. - (field $d_namlen $dirnamlen) ;;; The type of the file referred to by this directory entry. (field $d_type $filetype) + ;;; The length of the name of the directory entry. + (field $d_namlen $dirnamlen) ) )