summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/xstatconv.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2012-05-10 15:40:09 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-10 15:57:28 -0700
commit8e41b99fe1ae60276f8db4211d47ed2b1bacebf2 (patch)
treef2cb0a47de1b7304446470bb6b5961b37cc50a1a /sysdeps/mach/hurd/xstatconv.c
parent10589b4adb212dfde20670aacfb76aa842f42b92 (diff)
downloadglibc-8e41b99fe1ae60276f8db4211d47ed2b1bacebf2.tar.gz
Hurd: struct timespec members in struct stat
Diffstat (limited to 'sysdeps/mach/hurd/xstatconv.c')
-rw-r--r--sysdeps/mach/hurd/xstatconv.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/sysdeps/mach/hurd/xstatconv.c b/sysdeps/mach/hurd/xstatconv.c
index db704c6f30..ebe6471ac5 100644
--- a/sysdeps/mach/hurd/xstatconv.c
+++ b/sysdeps/mach/hurd/xstatconv.c
@@ -1,5 +1,5 @@
/* Convert between `struct stat' format, and `struct stat64' format.
- Copyright (C) 2000,01,02 Free Software Foundation, Inc.
+ Copyright (C) 2000-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -41,12 +41,9 @@ xstat64_conv (struct stat *buf, const struct stat64 *buf64)
buf->st_uid = buf64->st_uid;
buf->st_gid = buf64->st_gid;
buf->st_size = buf64->st_size;
- buf->st_atime = buf64->st_atime;
- buf->st_atime_usec = buf64->st_atime_usec;
- buf->st_mtime = buf64->st_mtime;
- buf->st_mtime_usec = buf64->st_mtime_usec;
- buf->st_ctime = buf64->st_ctime;
- buf->st_ctime_usec = buf64->st_ctime_usec;
+ buf->st_atim = buf64->st_atim;
+ buf->st_mtim = buf64->st_mtim;
+ buf->st_ctim = buf64->st_ctim;
buf->st_blksize = buf64->st_blksize;
buf->st_blocks = buf64->st_blocks;
buf->st_author = buf64->st_author;