diff options
-rw-r--r-- | ext2fs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/dir.c b/ext2fs/dir.c index e4ccadee..963f0843 100644 --- a/ext2fs/dir.c +++ b/ext2fs/dir.c @@ -869,7 +869,7 @@ count_dirents (struct node *dp, block_t nb, char *buf) /* Returned directory entries are aligned to blocks this many bytes long. Must be a power of two. */ -#define DIRENT_ALIGN 4 +#define DIRENT_ALIGN __alignof (struct dirent) /* Implement the diskfs_get_directs callback as described in <hurd/diskfs.h>. */ |