diff options
author | Miles Bader <miles@gnu.org> | 1996-07-23 23:42:21 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-07-23 23:42:21 +0000 |
commit | ade4f7c769c1bf85a447898d1cab9500af4dc876 (patch) | |
tree | 06bb7e7a729ad3a1b1c2d8e2d29213f34897ae81 /nfs/nfs.c | |
parent | be2bf19a00325d6460022aad90cdcfabe2155635 (diff) |
(xdr_encode_sattr_times): `struct timespec' now uses a field prefix of `tv_'.
Diffstat (limited to 'nfs/nfs.c')
-rw-r--r-- | nfs/nfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -162,10 +162,10 @@ xdr_encode_sattr_times (int *p, struct timespec *atime, struct timespec *mtime) *p++ = -1; /* uid */ *p++ = -1; /* gid */ *p++ = -1; /* size */ - *p++ = htonl (atime->ts_sec); - *p++ = htonl (atime->ts_nsec * 1000); - *p++ = htonl (mtime->ts_sec); - *p++ = htonl (mtime->ts_nsec * 1000); + *p++ = htonl (atime->tv_sec); + *p++ = htonl (atime->tv_nsec * 1000); + *p++ = htonl (mtime->tv_sec); + *p++ = htonl (mtime->tv_nsec * 1000); return p; } |