diff options
Diffstat (limited to 'sys/compat/linux/linux_file64.c')
-rw-r--r-- | sys/compat/linux/linux_file64.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_file64.c b/sys/compat/linux/linux_file64.c index 4eb0b2b1ea3..4e4f1213fe0 100644 --- a/sys/compat/linux/linux_file64.c +++ b/sys/compat/linux/linux_file64.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_file64.c,v 1.3 2002/03/14 01:26:50 millert Exp $ */ +/* $OpenBSD: linux_file64.c,v 1.4 2002/12/16 16:27:41 fgsch Exp $ */ /* $NetBSD: linux_file64.c,v 1.2 2000/12/12 22:24:56 jdolecek Exp $ */ /*- @@ -101,6 +101,9 @@ bsd_to_linux_stat(bsp, lsp) lsp->lst_atime = bsp->st_atime; lsp->lst_mtime = bsp->st_mtime; lsp->lst_ctime = bsp->st_ctime; +#if LINUX_STAT64_HAS_BROKEN_ST_INO + lsp->__lst_ino = (linux_ino_t)bsp->st_ino; +#endif } /* |