diff options
author | Peter Wemm <peter@FreeBSD.org> | 1995-11-03 22:47:24 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1995-11-03 22:47:24 +0000 |
commit | d4d864ba62a36feccefef60a2b0fbdf74b4eab76 (patch) | |
tree | 37aff758fbadcfa1e87d21cf2deeacaeab536cbe /sbin/fsdb/fsdbutil.c | |
parent | fd0348496bc9e422b3028a2e3df9e9554bed8500 (diff) | |
download | src-d4d864ba62a36feccefef60a2b0fbdf74b4eab76.tar.gz src-d4d864ba62a36feccefef60a2b0fbdf74b4eab76.zip |
Commit FreeBSD-specific changes. Mainly to do with structure layout
differences that we dont have.
Notes
Notes:
svn path=/head/; revision=12051
Diffstat (limited to 'sbin/fsdb/fsdbutil.c')
-rw-r--r-- | sbin/fsdb/fsdbutil.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sbin/fsdb/fsdbutil.c b/sbin/fsdb/fsdbutil.c index 1003b9d4d3e1..262bc1a66d3d 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); |