ts_sec -> tv_sec
ts_nsec -> tv_nsec
This commit is contained in:
parent
754710fca5
commit
c9979c6067
@ -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 New Issue
Block a user