summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-23 23:42:21 +0000
committerMiles Bader <miles@gnu.org>1996-07-23 23:42:21 +0000
commitade4f7c769c1bf85a447898d1cab9500af4dc876 (patch)
tree06bb7e7a729ad3a1b1c2d8e2d29213f34897ae81
parentbe2bf19a00325d6460022aad90cdcfabe2155635 (diff)
(xdr_encode_sattr_times): `struct timespec' now uses a field prefix of `tv_'.
-rw-r--r--nfs/nfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nfs/nfs.c b/nfs/nfs.c
index fe9d3fc0..617ca334 100644
--- a/nfs/nfs.c
+++ b/nfs/nfs.c
@@ -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;
}