diff options
author | nate <nate@FreeBSD.org> | 1996-09-20 04:24:31 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-09-20 04:24:31 +0000 |
commit | 4c36b3483c3768316f874b2ae9684cdf6512b92b (patch) | |
tree | 1839a20b775e22c9fe70f70fe0e76f13a985776b | |
parent | c6c987075aa01799402b306b7cf9f20307a63822 (diff) | |
download | FreeBSD-src-4c36b3483c3768316f874b2ae9684cdf6512b92b.zip FreeBSD-src-4c36b3483c3768316f874b2ae9684cdf6512b92b.tar.gz |
ts_sec -> tv_sec
ts_nsec -> tv_nsec
-rw-r--r-- | sbin/fsck/inode.c | 4 | ||||
-rw-r--r-- | sbin/fsck_ffs/inode.c | 4 | ||||
-rw-r--r-- | sbin/fsck_ifs/inode.c | 4 | ||||
-rw-r--r-- | sbin/newfs/mkfs.c | 6 | ||||
-rw-r--r-- | sbin/newlfs/lfs.c | 8 |
5 files changed, 13 insertions, 13 deletions
diff --git a/sbin/fsck/inode.c b/sbin/fsck/inode.c index aa47fb8..1c9f9b6 100644 --- a/sbin/fsck/inode.c +++ b/sbin/fsck/inode.c @@ -456,7 +456,7 @@ pinode(ino) if (preen) printf("%s: ", cdevname); printf("SIZE=%qu ", dp->di_size); - p = ctime(&dp->di_mtime.ts_sec); + p = ctime(&dp->di_mtime.tv_sec); printf("MTIME=%12.12s %4.4s ", &p[4], &p[20]); } @@ -527,7 +527,7 @@ allocino(request, type) return (0); } dp->di_mode = type; - (void)time(&dp->di_atime.ts_sec); + (void)time(&dp->di_atime.tv_sec); dp->di_mtime = dp->di_ctime = dp->di_atime; dp->di_size = sblock.fs_fsize; dp->di_blocks = btodb(sblock.fs_fsize); diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c index aa47fb8..1c9f9b6 100644 --- a/sbin/fsck_ffs/inode.c +++ b/sbin/fsck_ffs/inode.c @@ -456,7 +456,7 @@ pinode(ino) if (preen) printf("%s: ", cdevname); printf("SIZE=%qu ", dp->di_size); - p = ctime(&dp->di_mtime.ts_sec); + p = ctime(&dp->di_mtime.tv_sec); printf("MTIME=%12.12s %4.4s ", &p[4], &p[20]); } @@ -527,7 +527,7 @@ allocino(request, type) return (0); } dp->di_mode = type; - (void)time(&dp->di_atime.ts_sec); + (void)time(&dp->di_atime.tv_sec); dp->di_mtime = dp->di_ctime = dp->di_atime; dp->di_size = sblock.fs_fsize; dp->di_blocks = btodb(sblock.fs_fsize); diff --git a/sbin/fsck_ifs/inode.c b/sbin/fsck_ifs/inode.c index aa47fb8..1c9f9b6 100644 --- a/sbin/fsck_ifs/inode.c +++ b/sbin/fsck_ifs/inode.c @@ -456,7 +456,7 @@ pinode(ino) if (preen) printf("%s: ", cdevname); printf("SIZE=%qu ", dp->di_size); - p = ctime(&dp->di_mtime.ts_sec); + p = ctime(&dp->di_mtime.tv_sec); printf("MTIME=%12.12s %4.4s ", &p[4], &p[20]); } @@ -527,7 +527,7 @@ allocino(request, type) return (0); } dp->di_mode = type; - (void)time(&dp->di_atime.ts_sec); + (void)time(&dp->di_atime.tv_sec); dp->di_mtime = dp->di_ctime = dp->di_atime; dp->di_size = sblock.fs_fsize; dp->di_blocks = btodb(sblock.fs_fsize); diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c index 29e1cdd..d67090b 100644 --- a/sbin/newfs/mkfs.c +++ b/sbin/newfs/mkfs.c @@ -886,9 +886,9 @@ fsinit(utime) /* * initialize the node */ - node.di_atime.ts_sec = utime; - node.di_mtime.ts_sec = utime; - node.di_ctime.ts_sec = utime; + node.di_atime.tv_sec = utime; + node.di_mtime.tv_sec = utime; + node.di_ctime.tv_sec = utime; #ifdef LOSTDIR /* * create the lost+found directory diff --git a/sbin/newlfs/lfs.c b/sbin/newlfs/lfs.c index 4859e30..c22f19f 100644 --- a/sbin/newlfs/lfs.c +++ b/sbin/newlfs/lfs.c @@ -627,10 +627,10 @@ make_dinode(ino, dip, nblocks, saddr, lfsp) dip->di_blocks = nblocks << lfsp->lfs_fsbtodb; dip->di_size = (nblocks << lfsp->lfs_bshift); - dip->di_atime.ts_sec = dip->di_mtime.ts_sec = - dip->di_ctime.ts_sec = lfsp->lfs_tstamp; - dip->di_atime.ts_nsec = dip->di_mtime.ts_nsec = - dip->di_ctime.ts_nsec = 0; + dip->di_atime.tv_sec = dip->di_mtime.tv_sec = + dip->di_ctime.tv_sec = lfsp->lfs_tstamp; + dip->di_atime.tv_nsec = dip->di_mtime.tv_nsec = + dip->di_ctime.tv_nsec = 0; dip->di_inumber = ino; #define SEGERR \ |