diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-11-08 00:43:43 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-11-08 00:43:43 +0000 |
commit | 88ea22604b1e67411c189e2bc11f96781241b704 (patch) | |
tree | f096d0123b175159fa1df44a6080deccd8ad8fce /include | |
parent | f534a3187b955b847dbe88fadbb11c64b4bcd26f (diff) |
Change time_t into unsigned int in struct stat. This fixes the
newstat / lstat / fstat returning returning January 1, 1970 for all
file dates.
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips64/stat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-mips64/stat.h b/include/asm-mips64/stat.h index dd4a28021..0f955ff88 100644 --- a/include/asm-mips64/stat.h +++ b/include/asm-mips64/stat.h @@ -73,13 +73,13 @@ struct stat { * Actually this should be timestruc_t st_atime, st_mtime and st_ctime * but we don't have it under Linux. */ - time_t st_atime; + unsigned int st_atime; unsigned int reserved0; /* Reserved for st_atime expansion */ - time_t st_mtime; + unsigned int st_mtime; unsigned int reserved1; /* Reserved for st_mtime expansion */ - time_t st_ctime; + unsigned int st_ctime; unsigned int reserved2; /* Reserved for st_ctime expansion */ unsigned int st_blksize; |