From d4d864ba62a36feccefef60a2b0fbdf74b4eab76 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 3 Nov 1995 22:47:24 +0000 Subject: Commit FreeBSD-specific changes. Mainly to do with structure layout differences that we dont have. --- sbin/fsdb/fsdbutil.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sbin/fsdb/fsdbutil.c') 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); -- cgit v1.2.3