diff options
author | Peter Wemm <peter@FreeBSD.org> | 2002-11-17 23:50:41 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2002-11-17 23:50:41 +0000 |
commit | 26e7777954365dd3e73b08eee21619eab3aec4b8 (patch) | |
tree | 60b423262bbca7bcace02069faf1abe2ef20e811 /sbin/dumpfs | |
parent | f316609eb45353eb9ee5b7aec3ed280dd08b9a31 (diff) | |
download | src-test2-26e7777954365dd3e73b08eee21619eab3aec4b8.tar.gz src-test2-26e7777954365dd3e73b08eee21619eab3aec4b8.zip |
Notes
Diffstat (limited to 'sbin/dumpfs')
-rw-r--r-- | sbin/dumpfs/dumpfs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c index 6e0c95528f56..f0c21d397183 100644 --- a/sbin/dumpfs/dumpfs.c +++ b/sbin/dumpfs/dumpfs.c @@ -137,8 +137,9 @@ dumpfs(const char *name) break; case 1: fssize = afs.fs_old_size; + time = afs.fs_old_time; printf("magic\t%x (UFS1)\ttime\t%s", - afs.fs_magic, ctime(&afs.fs_old_time)); + afs.fs_magic, ctime(&time)); printf("id\t[ %x %x ]\n", afs.fs_id[0], afs.fs_id[1]); printf("ncg\t%d\tsize\t%qd\tblocks\t%d\n", afs.fs_ncg, fssize, afs.fs_dsize); @@ -273,8 +274,9 @@ dumpcg(int c) acg.cg_cgx, acg.cg_ndblk, acg.cg_niblk, acg.cg_initediblk); break; case 1: + time = acg.cg_old_time; printf("magic\t%x\ttell\t%qx\ttime\t%s", - acg.cg_magic, cur, ctime(&acg.cg_old_time)); + acg.cg_magic, cur, ctime(&time)); printf("cgx\t%d\tncyl\t%d\tniblk\t%d\tndblk\t%d\n", acg.cg_cgx, acg.cg_old_ncyl, acg.cg_old_niblk, acg.cg_ndblk); |