mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
ts_sec -> tv_sec
ts_nsec -> tv_nsec
This commit is contained in:
parent
2b240fd84f
commit
45808359e6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18410
2 changed files with 4 additions and 4 deletions
|
@ -117,7 +117,7 @@ blockest(dp)
|
|||
/* Auxiliary macro to pick up files changed since previous dump. */
|
||||
#ifdef FS_44INODEFMT
|
||||
#define CHANGEDSINCE(dp, t) \
|
||||
((dp)->di_mtime.ts_sec >= (t) || (dp)->di_ctime.ts_sec >= (t))
|
||||
((dp)->di_mtime.tv_sec >= (t) || (dp)->di_ctime.tv_sec >= (t))
|
||||
#else
|
||||
#define CHANGEDSINCE(dp, t) \
|
||||
((dp)->di_mtime >= (t) || (dp)->di_ctime >= (t))
|
||||
|
|
|
@ -356,9 +356,9 @@ dump_dinode(dip)
|
|||
"gid ", dip->di_gid,
|
||||
"size ", dip->di_size);
|
||||
(void)printf("%s%s%s%s%s%s",
|
||||
"atime ", ctime(&dip->di_atime.ts_sec),
|
||||
"mtime ", ctime(&dip->di_mtime.ts_sec),
|
||||
"ctime ", ctime(&dip->di_ctime.ts_sec));
|
||||
"atime ", ctime(&dip->di_atime.tv_sec),
|
||||
"mtime ", ctime(&dip->di_mtime.tv_sec),
|
||||
"ctime ", ctime(&dip->di_ctime.tv_sec));
|
||||
(void)printf("inum %d\n", dip->di_inumber);
|
||||
(void)printf("Direct Addresses\n");
|
||||
for (i = 0; i < NDADDR; i++) {
|
||||
|
|
Loading…
Reference in a new issue