From ade4f7c769c1bf85a447898d1cab9500af4dc876 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 23 Jul 1996 23:42:21 +0000 Subject: (xdr_encode_sattr_times): `struct timespec' now uses a field prefix of `tv_'. --- nfs/nfs.c | 8 ++++---- 1 file 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; } -- cgit v1.2.3