summaryrefslogtreecommitdiffstats
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-05-22 18:20:45 +0000
committerngie <ngie@FreeBSD.org>2016-05-22 18:20:45 +0000
commitdb1cd7e39a137cce0e5a401cb7db6d9217da1cb9 (patch)
treea1a9fb1bb1ee5ebb89a3a7545168c76d2d65b9fe /usr.bin/kdump
parentb86b034cff82aa8ef123530e1944526789bcd6b3 (diff)
downloadFreeBSD-src-db1cd7e39a137cce0e5a401cb7db6d9217da1cb9.zip
FreeBSD-src-db1cd7e39a137cce0e5a401cb7db6d9217da1cb9.tar.gz
Fix humanized decoding of struct stat with respect to .st_mtim
st_mtim was being incorrectly described as "stime=", not "mtime=". This was introduced with the original feature commit (r176471). MFC after: 1 week PR: 209699 Submitted by: naddy Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/kdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 439b90c..7010bbf 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1688,7 +1688,7 @@ ktrstat(struct stat *statp)
printf(".%09ld, ", statp->st_atim.tv_nsec);
else
printf(", ");
- printf("stime=");
+ printf("mtime=");
if (resolv == 0)
printf("%jd", (intmax_t)statp->st_mtim.tv_sec);
else {
OpenPOWER on IntegriCloud