From 23e602002f14e13d322b4866b54249f56e098780 Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 19 Aug 2005 05:28:48 +0000 Subject: [PATCH] now that we've changed the _DIRENT_ALIGN macro, provide a d_fileno for struct direct --- sys/ufs/ufs/dir.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/ufs/ufs/dir.h b/sys/ufs/ufs/dir.h index 1aed962a1c5b..59999240f690 100644 --- a/sys/ufs/ufs/dir.h +++ b/sys/ufs/ufs/dir.h @@ -1,4 +1,4 @@ -/* $NetBSD: dir.h,v 1.17 2003/08/07 16:34:42 agc Exp $ */ +/* $NetBSD: dir.h,v 1.18 2005/08/19 05:28:48 christos Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1993 @@ -78,8 +78,9 @@ #define MAXNAMLEN 255 #define APPLEUFS_DIRBLKSIZ 1024 +#define d_ino d_fileno struct direct { - u_int32_t d_ino; /* inode number of entry */ + u_int32_t d_fileno; /* inode number of entry */ u_int16_t d_reclen; /* length of this record */ u_int8_t d_type; /* file type, see below */ u_int8_t d_namlen; /* length of string in d_name */