summaryrefslogtreecommitdiff
path: root/nfs/nfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'nfs/nfs.c')
-rw-r--r--nfs/nfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nfs/nfs.c b/nfs/nfs.c
index 1c55f3f1..46c95c22 100644
--- a/nfs/nfs.c
+++ b/nfs/nfs.c
@@ -270,9 +270,9 @@ xdr_encode_sattr_times (int *p, struct timespec *atime, struct timespec *mtime)
*p++ = -1; /* gid */
*p++ = -1; /* size */
*p++ = htonl (atime->tv_sec);
- *p++ = htonl (atime->tv_nsec * 1000);
+ *p++ = htonl (atime->tv_nsec / 1000);
*p++ = htonl (mtime->tv_sec);
- *p++ = htonl (mtime->tv_nsec * 1000);
+ *p++ = htonl (mtime->tv_nsec / 1000);
}
else
{