summaryrefslogtreecommitdiff
path: root/libnetfs/file-utimes.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-23 18:30:49 +0000
committerMiles Bader <miles@gnu.org>1996-07-23 18:30:49 +0000
commit1d00ef22e528d9768365000959fc8259d61d5d0a (patch)
treea7ab310a5bad11b584659d087717b29810d45c14 /libnetfs/file-utimes.c
parent092b5ae0cede6bbeb2d5ed3bad12b775a7b86baa (diff)
(netfs_S_file_utimes): `struct timespec' now uses a field prefix of `tv_'.
Diffstat (limited to 'libnetfs/file-utimes.c')
-rw-r--r--libnetfs/file-utimes.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libnetfs/file-utimes.c b/libnetfs/file-utimes.c
index 47a8b883..f641c8da 100644
--- a/libnetfs/file-utimes.c
+++ b/libnetfs/file-utimes.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -29,10 +29,10 @@ netfs_S_file_utimes (struct protid *user,
struct timespec atime, mtime;
error_t err;
- atime.ts_sec = atimein.seconds;
- atime.ts_nsec = atimein.microseconds * 1000;
- mtime.ts_sec = mtimein.seconds;
- mtime.ts_nsec = mtimein.microseconds * 1000;
+ atime.tv_sec = atimein.seconds;
+ atime.tv_nsec = atimein.microseconds * 1000;
+ mtime.tv_sec = mtimein.seconds;
+ mtime.tv_nsec = mtimein.microseconds * 1000;
if (!user)
return EOPNOTSUPP;