diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-07-14 18:39:07 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-07-14 18:39:07 +0000 |
commit | 686460e6ec3b0e82aeed91771c136f021663efd0 (patch) | |
tree | 913516600831d0d68c095ff41447ae3c0eb6ea84 /libdiskfs | |
parent | daa8dda4b2d8e8f96552a43d39f24843a9197844 (diff) | |
download | hurd-686460e6ec3b0e82aeed91771c136f021663efd0.tar.gz hurd-686460e6ec3b0e82aeed91771c136f021663efd0.tar.bz2 hurd-686460e6ec3b0e82aeed91771c136f021663efd0.zip |
Formerly node-times.c.~5~
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/node-times.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libdiskfs/node-times.c b/libdiskfs/node-times.c index 699d5776..eb3ad37e 100644 --- a/libdiskfs/node-times.c +++ b/libdiskfs/node-times.c @@ -37,18 +37,18 @@ diskfs_set_node_times (struct node *np) if (np->dn_set_mtime) { - np->dn_stat.st_mtime = secs; - np->dn_stat.st_mtime_usec = usecs; + np->dn_stat.st_mtimespec.ts_sec = secs; + np->dn_stat.st_mtimespec.ts_nsec = usecs * 1000; } if (np->dn_set_atime) { - np->dn_stat.st_atime = secs; - np->dn_stat.st_atime_usec = usecs; + np->dn_stat.st_atimespec.ts_sec = secs; + np->dn_stat.st_atimespec.ts_nsec = usecs * 1000; } if (np->dn_set_ctime) { - np->dn_stat.st_ctime = secs; - np->dn_stat.st_ctime_usec = usecs; + np->dn_stat.st_ctimespec.ts_sec = secs; + np->dn_stat.st_ctimespec.ts_nsec = usecs * 1000; } if (np->dn_set_mtime || np->dn_set_atime || np->dn_set_ctime) |