summaryrefslogtreecommitdiffstats
path: root/sbin/fsdb/fsdbutil.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-11-03 22:47:24 +0000
committerpeter <peter@FreeBSD.org>1995-11-03 22:47:24 +0000
commit05e7d17a3b9589ff8cf8cf90323b1c0de4bbbf1c (patch)
tree37aff758fbadcfa1e87d21cf2deeacaeab536cbe /sbin/fsdb/fsdbutil.c
parente86c709b2d2951e75d5ad929a561e69c9a769b17 (diff)
downloadFreeBSD-src-05e7d17a3b9589ff8cf8cf90323b1c0de4bbbf1c.zip
FreeBSD-src-05e7d17a3b9589ff8cf8cf90323b1c0de4bbbf1c.tar.gz
Commit FreeBSD-specific changes. Mainly to do with structure layout
differences that we dont have.
Diffstat (limited to 'sbin/fsdb/fsdbutil.c')
-rw-r--r--sbin/fsdb/fsdbutil.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sbin/fsdb/fsdbutil.c b/sbin/fsdb/fsdbutil.c
index 1003b9d..262bc1a 100644
--- a/sbin/fsdb/fsdbutil.c
+++ b/sbin/fsdb/fsdbutil.c
@@ -130,15 +130,15 @@ printstat(cp, inum, dp)
break;
}
printf("I=%lu MODE=%o SIZE=%qu", inum, dp->di_mode, dp->di_size);
- p = ctime(&dp->di_mtime);
+ p = ctime(&dp->di_mtime.ts_sec);
printf("\n\tMTIME=%15.15s %4.4s [%d nsec]", &p[4], &p[20],
- dp->di_mtimensec);
- p = ctime(&dp->di_ctime);
+ dp->di_mtime.ts_nsec);
+ p = ctime(&dp->di_ctime.ts_sec);
printf("\n\tCTIME=%15.15s %4.4s [%d nsec]", &p[4], &p[20],
- dp->di_ctimensec);
- p = ctime(&dp->di_atime);
+ dp->di_ctime.ts_nsec);
+ p = ctime(&dp->di_atime.ts_sec);
printf("\n\tATIME=%15.15s %4.4s [%d nsec]\n", &p[4], &p[20],
- dp->di_atimensec);
+ dp->di_atime.ts_nsec);
if (pw = getpwuid(dp->di_uid))
printf("OWNER=%s ", pw->pw_name);
OpenPOWER on IntegriCloud